pgsql: Have CREATE TABLE LIKE add OID column if any LIKEd table has one
Have CREATE TABLE LIKE add OID column if any LIKEd table has one
Also, process constraints for LIKEd tables at the end so an OID column
can be referenced in a constraint.
Report by Tom Lane
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/b943f502b788a3708ca660785fd14a4ee938fdcd
Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 44 ++++++++++++++++++++---
src/test/regress/expected/create_table.out | 3 ++
src/test/regress/expected/create_table_like.out | 27 ++++++++++++++
src/test/regress/sql/create_table.sql | 4 +++
src/test/regress/sql/create_table_like.sql | 13 +++++++
5 files changed, 86 insertions(+), 5 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers