pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: Andres Freund <andres@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Joshua Berry <yoberi@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
Date: Thu, 13 Jun 2013 13:16:06 -0400
Message-ID: <231.1371143766@sss.pgh.pa.us> (raw)
In-Reply-To: <51B9C9A8.9000109@tpf.co.jp>
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>
	<51B9C9A8.9000109@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hiroshi Inoue <inoue@tpf.co.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


-- 
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: <231.1371143766@sss.pgh.pa.us>
Permalink:  ../231.1371143766@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/231.1371143766@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, inoue@tpf.co.jp, andres@2ndquadrant.com, hlinnakangas@vmware.com, yoberi@gmail.com, pgsql-bugs@postgresql.org
  Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC
  In-Reply-To: <231.1371143766@sss.pgh.pa.us>
  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> <51B9C9A8.9000109@tpf.co.jp> <231.1371143766@sss.pgh.pa.us>

* 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