| От | tgl@postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql: CREATE TABLE ... |
| Дата | |
| Msg-id | 20061011200318.75A319FB388@postgresql.org обсуждение исходный текст |
| Список | 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)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера