Re: Null Characters in Strings, Version 9.3.1 - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: Null Characters in Strings, Version 9.3.1
Date
Msg-id 5303960F.3050706@vmware.com
Whole thread Raw
In response to Re: Null Characters in Strings, Version 9.3.1  (Nils Gösche <cartan@cartan.de>)
Responses Re: Null Characters in Strings, Version 9.3.1  (Nils Gösche <cartan@cartan.de>)
List pgsql-odbc
On 02/18/2014 07:06 PM, Nils Gösche wrote:
> I wrote:
>
>> If I retrieve the value in a C# program using the ODBC driver, I get a
>> string that has a null character at position 459, but a total length of
>> 487!  The string up to position 458 is correct, but has now been
>> extended with a null character and a few junk characters.
>
> Am I the only one thinking this is a serious bug?

Maybe.. I don't have a C# environment to test this with; if you can
write a small stand-alone C program to reproduce this and post it, I'll
take a look.

- Heikki


pgsql-odbc by date:

Previous
From: Nils Gösche
Date:
Subject: Re: Null Characters in Strings, Version 9.3.1
Next
From: Nils Gösche
Date:
Subject: Re: Null Characters in Strings, Version 9.3.1