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

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Joshua Berry <yoberi(at)gmail(dot)com>, Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
Date: 2013-06-11 16:26:52
Message-ID: 20130611162652.GA30025@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-odbc

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-odbc, but couldn't quite
> understand what the problem is. Did you have a test program to reproduce it?
> Or failing that, what is the sequence of protocol messages that causes the
> problem?

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.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Friar 2013-06-11 17:43:24 pgScript bug
Previous Message Heikki Linnakangas 2013-06-11 16:20:57 Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC

Browse pgsql-odbc by date

  From Date Subject
Next Message Daniel Homerick 2013-06-11 16:47:12 Re: Upgrade strangeness on win 32bit
Previous Message Heikki Linnakangas 2013-06-11 16:20:57 Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC