From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: blegay <b.legay@ac-consulting.fr>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Date: Mon, 08 Apr 2013 15:53:54 +0300
Message-ID: <5162BDE2.40704@vmware.com> (raw)
In-Reply-To: <1365419127118-5751192.post@n5.nabble.com>
References: <1365106058286-5750832.post@n5.nabble.com>
<1365133737522-5750890.post@n5.nabble.com>
<1365232946306-5751040.post@n5.nabble.com>
<1365419127118-5751192.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 08.04.2013 14:05, blegay wrote:
> Hi,
>
> I have been able to reproduce and isolate the problem in a C code...
> It is related to the SQLNumResultCols ODBC function after a call to
> SQLMoreResults which does not return any lines (it is an INSERT statement).
>
> Can anybody help ?
I think this is the same bug that I spotted a few weeks back:
http://www.postgresql.org/message-id/5143041A.20605@vmware.com.
Your test case isn't exactly the same, but the same patch seems to fix
yours, too.
I've been meaning to commit that, along with a bunch of other fixes. But
I've been holding back because I'd actually want to migrate the psqlodbc
repository to git first. In any case, that should be fixed in the next
version.
Thanks for the report!
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: hlinnakangas@vmware.com, b.legay@ac-consulting.fr
Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
In-Reply-To: <5162BDE2.40704@vmware.com>
References: <1365106058286-5750832.post@n5.nabble.com> <1365133737522-5750890.post@n5.nabble.com> <1365232946306-5751040.post@n5.nabble.com> <1365419127118-5751192.post@n5.nabble.com> <5162BDE2.40704@vmware.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