Thread: Re: FW: PostgreSQL ODBC bug

Re: FW: PostgreSQL ODBC bug

From
Ludek Finstrle
Date:
> > 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