From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Have CREATE TABLE LIKE add OID column if any LIKEd table has one
Date: Tue, 06 Oct 2015 01:19:24 +0000
Message-ID: <E1ZjGua-0005ns-49@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us
Subject: Re: pgsql: Have CREATE TABLE LIKE add OID column if any LIKEd table has one
In-Reply-To: <E1ZjGua-0005ns-49@gemulon.postgresql.org>
References: <E1ZjGua-0005ns-49@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox