Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-13 Thread Joshua Berry
Hiroshi, Tom, and Andres, On Thu, Jun 13, 2013 at 12:16 PM, Tom Lane wrote: > Hiroshi Inoue writes: > > OK I made a test C program which reproduces the crash. > > The program uses libpq and a hack. > > I've committed a fix for this. Thanks again for the test case. > Many thanks for your time

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-13 Thread Tom Lane
Hiroshi Inoue writes: > (2013/06/12 1:26), Andres Freund wrote: >> I'd guess creating a SQL level WITH HOLD cursor and then fetching that >> via the extended protocol, outside the transaction, should do the trick. > OK I made a test C program which reproduces the crash. > The program uses libpq a

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-13 Thread Tom Lane
Hiroshi Inoue writes: > OK I made a test C program which reproduces the crash. > The program uses libpq and a hack. Oh, thank you, I was just about to go spend an hour doing that ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To m

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-13 Thread Hiroshi Inoue
(2013/06/12 1:26), Andres Freund wrote: On 2013-06-11 19:20:57 +0300, Heikki Linnakangas wrote: On 11.06.2013 19:04, Joshua Berry wrote: Hiroshi Inoue has developed the attached patch to correct the issue that was reported. More of the dialogue can be found in the pgsql-odbc list. I tried to

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-11 Thread Andres Freund
On 2013-06-11 19:20:57 +0300, Heikki Linnakangas wrote: > On 11.06.2013 19:04, Joshua Berry wrote: > >Hiroshi Inoue has developed the attached patch to correct the issue that > >was reported. More of the dialogue can be found in the pgsql-odbc list. > > I tried to follow that thread over at pgsql

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-11 Thread Heikki Linnakangas
On 11.06.2013 19:04, Joshua Berry wrote: Hiroshi Inoue has developed the attached patch to correct the issue that was reported. More of the dialogue can be found in the pgsql-odbc list. I tried to follow that thread over at pgsql-odbc, but couldn't quite understand what the problem is. Did yo

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-06-11 Thread Joshua Berry
Hiroshi Inoue has developed the attached patch to correct the issue that was reported. More of the dialogue can be found in the pgsql-odbc list. The root issue: Inoue, Hiroshi mailto:in...@tpf.co.jp>> wrote: >> >> It's also preferrable to fix the crash at backend. >> The cra

Re: [BUGS] [ODBC] Segmentation Fault in Postgres server when using psqlODBC

2013-05-24 Thread Hiroshi Inoue
Hi, Psqlodbc drivers send Execite requests for cursors instead of issueing FETCH commands. regards, Hiroshi Inoue (2013/05/25 1:55), Joshua Berry wrote: Hi Groups, I'm dealing with periodic backend process segmentation faults. I'm posting to both the bugs and odbc lists as it seems that my ap