Re: alter table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: alter table
Дата
Msg-id 12373.1048257485@sss.pgh.pa.us
обсуждение исходный текст
Ответ на alter table  ("Diego Cattelan" <netmaniac@libero.it>)
Список pgsql-bugs
"Diego Cattelan" <netmaniac@libero.it> writes:
> gesart=3D>alter table a add column c integer references xxxxxxx(id);
> =20
> NOTICE: ALTER TABLE will create implicit trigger(s) for FOREIGN KEY check(s)
> ALTER TABLE
> =20
> The table xxxxxxx doesn't exist.
> =20
> Is that correct or postgreSQL should report an error ?

It is an error.  7.3.* has a bug with ALTER TABLE ADD COLUMN: any
foreign-key reference clauses are ignored.  This is fixed for 7.3.3.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #915: problem with returning setof with double precision values
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug #915: problem with returning setof with double precision values