pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Joshua Berry <yoberi@gmail.com>
Cc: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-bugs@postgresql.org
Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
Date: Tue, 11 Jun 2013 18:26:52 +0200
Message-ID: <20130611162652.GA30025@awork2.anarazel.de> (raw)
In-Reply-To: <51B74E69.4010206@vmware.com>
References: <51A51147.2060103@tpf.co.jp>
	<CAPmZXM1ffoi_niJc_Ra7MG1+Anp5Q0-77AAW0YawEJ4hVA3b=g@mail.gmail.com>
	<51A75999.6030701@tpf.co.jp>
	<CAPmZXM1QngGY4svmZMnTOsP4LjcypcLvW+gyz=GbhmTcRDZnpA@mail.gmail.com>
	<51AD6351.4030208@tpf.co.jp>
	<CAPmZXM1jcE3BDi7si9JZUZC1weHUHWx8s3N0JCsmRq-+3o_6Bg@mail.gmail.com>
	<CAPmZXM08s=6=owEWsu542QSz6ME8McpoA8RwGwSJQHDNS-v5TA@mail.gmail.com>
	<51B0046F.8080908@tpf.co.jp>
	<CAPmZXM0ye9i3ib+pXoimf6C6GpGUgdKbvydUFFg2+VQyj+u-6Q@mail.gmail.com>
	<51B74E69.4010206@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (18+ messages)  latest in thread

Message-ID: <20130611162652.GA30025@awork2.anarazel.de>
Permalink:  ../20130611162652.GA30025@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20130611162652.GA30025@awork2.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: andres@2ndquadrant.com, hlinnakangas@vmware.com, yoberi@gmail.com, inoue@tpf.co.jp, pgsql-bugs@postgresql.org
  Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
  In-Reply-To: <20130611162652.GA30025@awork2.anarazel.de>
  References: <51A51147.2060103@tpf.co.jp> <CAPmZXM1ffoi_niJc_Ra7MG1+Anp5Q0-77AAW0YawEJ4hVA3b=g@mail.gmail.com> <51A75999.6030701@tpf.co.jp> <CAPmZXM1QngGY4svmZMnTOsP4LjcypcLvW+gyz=GbhmTcRDZnpA@mail.gmail.com> <51AD6351.4030208@tpf.co.jp> <CAPmZXM1jcE3BDi7si9JZUZC1weHUHWx8s3N0JCsmRq-+3o_6Bg@mail.gmail.com> <CAPmZXM08s=6=owEWsu542QSz6ME8McpoA8RwGwSJQHDNS-v5TA@mail.gmail.com> <51B0046F.8080908@tpf.co.jp> <CAPmZXM0ye9i3ib+pXoimf6C6GpGUgdKbvydUFFg2+VQyj+u-6Q@mail.gmail.com> <51B74E69.4010206@vmware.com> <20130611162652.GA30025@awork2.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox