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:26
Message-ID: 20061011200326.38B119FB3B9@postgresql.org
Views: Raw Message | Whole Thread | 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:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/parser:
analyze.c (r1.290.2.3 -> r1.290.2.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.290.2.3&r2=1.290.2.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-10-11 20:21:05 pgsql: Repair incorrect check for coercion of unknown literal to
Previous Message Tom Lane 2006-10-11 20:03:18 pgsql: CREATE TABLE ...