Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: blegay <b(dot)legay(at)ac-consulting(dot)fr>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Date: 2013-04-08 12:53:54
Message-ID: 5162BDE2.40704@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruno LEGAY 2013-04-08 14:29:11 Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?
Previous Message blegay 2013-04-08 11:05:27 Re: psqlodbc 09.01.0200 - OS X 10.6 - memory leak ?