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:11 |
Message-ID: | 20061011200311.6F84D9FB376@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_1_STABLE
Modified Files:
--------------
pgsql/src/backend/parser:
analyze.c (r1.326.2.2 -> r1.326.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.326.2.2&r2=1.326.2.3)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-10-11 20:03:18 | pgsql: CREATE TABLE ... |
Previous Message | Tom Lane | 2006-10-11 16:42:59 | pgsql: Code review for LIKE INCLUDING CONSTRAINTS patch --- improve |