pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Nils Gösche <cartan@cartan.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Null Characters in Strings, Version 9.3.1
Date: Tue, 18 Feb 2014 19:19:11 +0200
Message-ID: <5303960F.3050706@vmware.com> (raw)
In-Reply-To: <003201cf2ccb$c5d6ddd0$51849970$@de>
References: <006a01cf28e4$7c425450$74c6fcf0$@de>
	<003201cf2ccb$c5d6ddd0$51849970$@de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (15+ messages)  latest in thread

Message-ID: <5303960F.3050706@vmware.com>
Permalink:  ../5303960F.3050706@vmware.com/
Also on:    postgresql.org/message-id/5303960F.3050706@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, cartan@cartan.de
  Subject: Re: Null Characters in Strings, Version 9.3.1
  In-Reply-To: <5303960F.3050706@vmware.com>
  References: <006a01cf28e4$7c425450$74c6fcf0$@de> <003201cf2ccb$c5d6ddd0$51849970$@de> <5303960F.3050706@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox