Fix ALTER COLUMN TYPE bug: it sometimes tried to drop UNIQUE or PRIMARY KEY
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Jan 2006 16:19:12 +0000 (16:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Jan 2006 16:19:12 +0000 (16:19 +0000)
commitbe02bae61fb2d577e6f346b8f5590ef08aab34e9
treeffa64cf4edd7ddc630fcdf5c4ae8953d4dca11e9
parent925b33c9a80965c3886b69737e8b5388ae8c8f8b
Fix ALTER COLUMN TYPE bug: it sometimes tried to drop UNIQUE or PRIMARY KEY
constraints before FOREIGN KEY constraints that depended on them.  Originally
reported by Neil Conway on 29-Jun-2005.  Patch by Nakano Yoshihisa.
src/backend/commands/tablecmds.c