pgsql: CREATE TABLE ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: CREATE TABLE ...
Date: 2006-10-11 20:03:18
Message-ID: 20061011200318.75A319FB388@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
CREATE TABLE ... LIKE ... should mark the columns it creates with
attislocal = true, since they are not really inherited but merely copied
from the original table. I'm not sure if there are any cases where it makes
a real difference given the existing uses of the flag, but wrong is wrong.
This was fixed in passing in HEAD by the LIKE INCLUDING CONSTRAINTS patch,
but never back-patched.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/parser:
analyze.c (r1.314.4.1 -> r1.314.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.314.4.1&r2=1.314.4.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-10-11 20:03:26 pgsql: CREATE TABLE ...
Previous Message Tom Lane 2006-10-11 20:03:11 pgsql: CREATE TABLE ...