From: Nils Gösche <cartan@cartan.de>
To: 'Hiroshi Inoue' <inoue@tpf.co.jp>
To: 'Heikki Linnakangas' <hlinnakangas@vmware.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Null Characters in Strings, Version 9.3.1
Date: Wed, 19 Feb 2014 12:21:23 +0100
Message-ID: <001b01cf2d64$b93b6250$2bb226f0$@de> (raw)
In-Reply-To: <5303F655.8000200@tpf.co.jp>
References: <006a01cf28e4$7c425450$74c6fcf0$@de>
<003201cf2ccb$c5d6ddd0$51849970$@de>
<5303960F.3050706@vmware.com>
<003b01cf2ce1$2e33bc80$8a9b3580$@de>
<5303C2EA.7060109@vmware.com>
<5303F655.8000200@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
Inoue-san wrote:
> Maybe it's caused by the commit
> 3666c87c1440862bde2e6b8f43ee585deed70d31
> Author: Hiroshi Inoue <inoue@tpf.co.p>
> Date: Thu Aug 22 20:40:01 2013 +0900
>
> When LF->CR+LF conversion causes an buffer truncation, supress the
> conversion (in case of unicode).
>
> Nils, please try to turn off *LF <-> CR/LF conversion* option.
> Anyway I can't think of the way to cure the problem other than putting
> back the commit.
Ah, ok: If I set LFConversion=0, I get correct values in C#, without any null characters. But also without Ctrl-Ms! Too bad that our software has come to rely on the Ctrl-M conversion taking place already. If you think about the possibility of having both Windows and Unix clients working on the same database, I suppose having this conversion being done in the driver is not a bad thing.
So, if you could make LFConversion work reliably again, I would be a happy camper :-)
Regards,
--
Nils Gösche
"Don't ask for whom the <CTRL-G> tolls."
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: cartan@cartan.de, inoue@tpf.co.jp, hlinnakangas@vmware.com
Subject: Re: Null Characters in Strings, Version 9.3.1
In-Reply-To: <001b01cf2d64$b93b6250$2bb226f0$@de>
References: <006a01cf28e4$7c425450$74c6fcf0$@de> <003201cf2ccb$c5d6ddd0$51849970$@de> <5303960F.3050706@vmware.com> <003b01cf2ce1$2e33bc80$8a9b3580$@de> <5303C2EA.7060109@vmware.com> <5303F655.8000200@tpf.co.jp> <001b01cf2d64$b93b6250$2bb226f0$@de>
* 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