pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndquadrant.com>
To: Inoue, Hiroshi <inoue@tpf.co.jp>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: NPE in psqlodbc30a.dll!PgDtc_set_property caused by pgendlista.dll!IAsyncPG::RequestExec
Date: Sat, 14 Jun 2014 17:16:04 +0800
Message-ID: <539C12D4.8030503@2ndquadrant.com> (raw)
In-Reply-To: <539B1E51.10008@tpf.co.jp>
References: <539A8EDA.8050503@2ndquadrant.com>
	<539B1E51.10008@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 06/13/2014 11:52 PM, Inoue, Hiroshi wrote:
> 
> Oops you are right.
> Anyway it would take some time to fix it.
> I would have to remember the code first.

Yeah, I can imagine you don't poke around in that bit of the code a lot.

The Dtc_set_property call looks like it's just simple cleanup, so I'm
inclined to just shove it in an } else { } block. The cleanup performed
makes no sense if the connection has already been closed.

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


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



view thread (3+ messages)

Message-ID: <539C12D4.8030503@2ndquadrant.com>
Permalink:  ../539C12D4.8030503@2ndquadrant.com/
Also on:    postgresql.org/message-id/539C12D4.8030503@2ndquadrant.com

 · 

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: craig@2ndquadrant.com, inoue@tpf.co.jp
  Subject: Re: NPE in psqlodbc30a.dll!PgDtc_set_property caused by pgendlista.dll!IAsyncPG::RequestExec
  In-Reply-To: <539C12D4.8030503@2ndquadrant.com>
  References: <539A8EDA.8050503@2ndquadrant.com> <539B1E51.10008@tpf.co.jp> <539C12D4.8030503@2ndquadrant.com>

* 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