pgsql-server/ oc/src/sgml/ref/alter_table.sgml ...
pgsql-server/ oc/src/sgml/ref/alter_table.sgml ...
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@svr1.postgresql.org 04/03/23 15:35:17 Modified files: doc/src/sgml/ref: alter_table.sgml src/backend/bootstrap: bootparse.y src/backend/catalog: heap.c src/backend/commands: cluster.c 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 Log message: 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.