segfault with contrib lo

Поиск
Список
Период
Сортировка
От Marc Cousin
Тема segfault with contrib lo
Дата
Msg-id 2078938.ATyKPy5RM4@marco-dalibo
обсуждение исходный текст
Ответы Re: segfault with contrib lo  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
I was using the lo contrib a few days ago and wasn't paying attention, and
forgot the "for each row" in the create trigger command... PostgreSQL
segfaulted, when the trigger tried to access the row's attributes.

Please find attached a patch to control that the trigger is correctly defined
(as in the example): a before trigger, for each row, and a parameter (if the
parameter was omitted, it segfaulted too). I hope I did this correctly.

Regards,

Marc.
Вложения

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: old warning in docs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: space reserved for WAL record does not match what was written: panic on windows