Upgrade ALTER TABLE DROP COLUMN so that it can drop an OID column, and
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Mar 2004 19:35:17 +0000 (19:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Mar 2004 19:35:17 +0000 (19:35 +0000)
commit24614a988005a0811198458fc934b87375582168
tree42510feed47a8aee1d95196de379b1be5826c296
parent446b5476e531cb92778073903341ff5ec8d3044b
Upgrade ALTER TABLE DROP COLUMN so that it can drop an OID column, and
remove separate implementation of ALTER TABLE SET WITHOUT OIDS in favor
of doing a regular DROP.  Also, cause CREATE TABLE to account completely
correctly for the inheritance status of the OID column.  This fixes
problems with dropping OID columns that have dependencies, as noted by
Christopher Kings-Lynne, as well as making sure that you can't drop an
OID column that was inherited from a parent.
doc/src/sgml/ref/alter_table.sgml
src/backend/bootstrap/bootparse.y
src/backend/catalog/heap.c
src/backend/commands/cluster.c
src/backend/commands/tablecmds.c
src/backend/executor/execMain.c
src/backend/tcop/utility.c
src/include/catalog/heap.h
src/include/commands/tablecmds.h
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql