CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: neilc@svr1.postgresql.org 04/01/10 19:28:45
Modified files:
doc/src/sgml : runtime.sgml
doc/src/sgml/ref: create_table_as.sgml
src/backend/commands: sequence.c tablecmds.c typecmds.c view.c
src/backend/executor: execMain.c
src/backend/nodes: copyfuncs.c equalfuncs.c
src/backend/parser: analyze.c gram.y
src/include/nodes: parsenodes.h
src/test/regress/expected: without_oid.out
src/test/regress/sql: without_oid.sql
Log message:
Implement "WITH / WITHOID OIDS" clause for CREATE TABLE AS. This is
intended to allow application authors to insulate themselves from
changes to the default value of 'default_with_oids' in future releases
of PostgreSQL.
This patch also fixes a bug in the earlier implementation of the
'default_with_oids' GUC variable: code in gram.y should not examine
the value of GUC variables directly due to synchronization issues.