Re: [HACKERS] segfault with contrib lo

2013-11-23 Thread Tom Lane
Sawada Masahiko writes: > On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin 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 attribu

Re: [HACKERS] segfault with contrib lo

2013-11-23 Thread Sawada Masahiko
On Wed, Oct 9, 2013 at 2:12 AM, Marc Cousin wrote: > On Tuesday 08 October 2013 12:28:46 Robert Haas wrote: >> On Mon, Oct 7, 2013 at 12:32 PM, Marc Cousin 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 c

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 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 tri

Re: [HACKERS] segfault with contrib lo

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

[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 i