pgsql: Have CREATE TABLE LIKE add OID column if any LIKEd table has one - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Have CREATE TABLE LIKE add OID column if any LIKEd table has one
Date
Msg-id E1ZjGua-0005ns-49@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: to_number(): allow 'V' to divide by 10^(the number of digits)
Next
From: Robert Haas
Date:
Subject: pgsql: Remove more volatile qualifiers.