Re: [HACKERS] segfault with contrib lo

2013-11-23 Thread Sawada Masahiko
On Wed, Oct 9, 2013 at 2:12 AM, Marc Cousin cousinm...@gmail.com wrote: On Tuesday 08 October 2013 12:28:46 Robert Haas wrote: On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin cousinm...@gmail.com wrote: I was using the lo contrib a few days ago and wasn't paying attention, and forgot the for

Re: [HACKERS] segfault with contrib lo

2013-11-23 Thread Tom Lane
Sawada Masahiko sawada.m...@gmail.com writes: On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin cousinm...@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

Re: [HACKERS] segfault with contrib lo

2013-10-08 Thread Robert Haas
On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin cousinm...@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

Re: [HACKERS] segfault with contrib lo

2013-10-08 Thread Marc Cousin
On Tuesday 08 October 2013 12:28:46 Robert Haas wrote: On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin cousinm...@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

[HACKERS] segfault with contrib lo

2013-10-07 Thread Marc Cousin
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