Re: ALTER TABLE RENAME fix

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ALTER TABLE RENAME fix
Дата
Msg-id Pine.LNX.4.30.0111121804420.640-100000@peter.localdomain
обсуждение исходный текст
Ответ на ALTER TABLE RENAME fix  (Brent Verner <brent@rcfile.org>)
Ответы Re: ALTER TABLE RENAME fix  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: ALTER TABLE RENAME fix  (Brent Verner <brent@rcfile.org>)
Список pgsql-patches
Brent Verner writes:

> These patches fix the problem where an
>
>   ALTER TABLE <table> RENAME <oldcolumn> TO <newcolumn>
>
> did not update the RI_ triggers if the oldcolumn was referenced in
> a RI constraint.

Instead of trying to fix this, how about making the RI triggers not use
the column names in the first place.  (Instead they should use the oid of
the table and the attnums.)

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: stupid patch of pg_dumplo
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE RENAME fix