Re: BUG #5503: error in trigger function with dropped columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5503: error in trigger function with dropped columns
Дата
Msg-id 14504.1276445361@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5503: error in trigger function with dropped columns  ("Maksym Boguk" <Maxim.Boguk@gmail.com>)
Ответы Re: BUG #5503: error in trigger function with dropped columns
Список pgsql-bugs
"Maksym Boguk" <Maxim.Boguk@gmail.com> writes:
> This bug hard to describe. But in general if a table contained dropped
> columns you cannot use return record variable in trigger function.

This is fixed for 9.0 ... or at least the specific test case you provide
doesn't fail.  We have not risked back-porting the change though,
because there are other aspects of what the new code does that might
cause people problems, eg
http://archives.postgresql.org/pgsql-hackers/2010-03/msg00444.php
http://archives.postgresql.org/message-id/6645.1267926354@sss.pgh.pa.us

            regards, tom lane

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

Предыдущее
От: "Maksym Boguk"
Дата:
Сообщение: BUG #5503: error in trigger function with dropped columns
Следующее
От: Hartmut Goebel
Дата:
Сообщение: Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading