bug: alter table/FK

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема bug: alter table/FK
Дата
Msg-id Pine.BSO.4.10.10010171059530.22422-100000@spider.pilosoft.com
обсуждение исходный текст
Ответы Re: bug: alter table/FK  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-hackers
I don't know if this has been fixed or not, but alter table will not
adjust RI/FK triggers on the table. 

I.E:

create table foo (a int4 primary key)
create table bar (b int4 references foo)
alter table foo rename to foo2

now, updates to foo will either crash or hang postgres.


What needs to be done: on alter table, update tgargs in pg_trigger table

-alex



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql is 75 times faster with my new index scan
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: "initdb -t" destroys all databases