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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Joshua Berry <yoberi(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
Date: 2013-06-13 17:16:06
Message-ID: 231.1371143766@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-odbc

Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> 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 and a hack.

I've committed a fix for this. Thanks again for the test case.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message david.g.johnston 2013-06-13 19:10:50 BUG #8228: Unexpected "set-valued function" with varchar(n) but not varchar
Previous Message Tom Lane 2013-06-13 13:33:28 Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC

Browse pgsql-odbc by date

  From Date Subject
Next Message Joshua Berry 2013-06-13 19:30:32 Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
Previous Message Tom Lane 2013-06-13 13:33:28 Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC