Re: segfault with contrib lo

Поиск
Список
Период
Сортировка
От Marc Cousin
Тема Re: segfault with contrib lo
Дата
Msg-id 3588560.iRHyKAKEcf@marco
обсуждение исходный текст
Ответ на Re: segfault with contrib lo  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: segfault with contrib lo  (Sawada Masahiko <sawada.mshk@gmail.com>)
Список pgsql-hackers
On Tuesday 08 October 2013 12:28:46 Robert Haas wrote:
> On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin <cousinmarc@gmail.com> wrote:
> > 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.
> Thanks for the patch.  Please add it to the next CommitFest.
> 
> https://commitfest.postgresql.org/action/commitfest_view/open
Done.



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: unaccent module - two params function should be immutable
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: unaccent module - two params function should be immutable