Re: FW: PostgreSQL ODBC bug - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: FW: PostgreSQL ODBC bug
Date
Msg-id 20051221165942.GA32033@soptik.pzkagis.cz
Whole thread Raw
List pgsql-odbc
> > When you try to select the data using this c# program - you should get
> > the same trailing garbage errors we get.
>
>   I'm able to reproduce it here. It isn't ANSI related. The error
> occurs only in PostgreSQL Unicode driver.
>
> Stay tuned. I hope I can fix it till end of week.

I fix it before end of week as I promisee :-)
If you need binary DLL please send me a note from which source I may
compile it (CVS, psqlodbc-8.01.0105, 8.01.0102, ...)

For mailing list:
There is problem with SQLGetData from text column which is longer than
X bytes (with Unicode driver). The last part is returned filled up with
random data from memory.

I found the problem and I fix it. I'm not sure if it doesn't break
some other functionality.

Patch attached.

Please review and comment. I appreciate also huge testing and report.

Regards,

Luf

Attachment

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Next development steps?
Next
From: Zlatko Matić
Date:
Subject: ODBC connection string, MS Access