Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ? - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Date
Msg-id 5162BDE2.40704@vmware.com
Whole thread Raw
In response to Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?  (blegay <b.legay@ac-consulting.fr>)
Responses Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?  (Bruno LEGAY <b.legay@ac-consulting.fr>)
List pgsql-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


pgsql-odbc by date:

Previous
From: blegay
Date:
Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Next
From: Bruno LEGAY
Date:
Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?