From: Miguel Juan <mjuan@cibal.es>
To: pgsql-odbc@postgresql.org
Subject: Bug? with LF <-> LCR/LF conversion
Date: Wed, 23 Jun 2004 11:24:20 +0200
Message-ID: <00a701c45903$de0f11c0$07c8a8c0@miguel2000> (raw)
Hy,
I'm having a problem with the LF<-> CR/LF conversion option in the PostGreSQL ODBC driver. When I use this option I do not retrieve the 'n' last characters of the string, where 'n' is the number of lines inside a TEXT field. And if I do not mark this option, it don't print correctly the new line character (I mean for Windows).
It looks like that the LF-CR/LF conversion do not consider the new characters added to the string and it cuts the string to its original size, loosing the last bytes.
NOTE: With the Text as LongVarchar option active it works fine, but I can not use it due to BDE issues.
PostGreSQL server version:PostgreSQL 7.3.4 on i686-pc-linux-gnu, compiled by GCC 2.96
ODBC driver: psqlodbc-07_03_0200
Regards
Miguel Juan
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: mjuan@cibal.es
Subject: Re: Bug? with LF <-> LCR/LF conversion
In-Reply-To: <00a701c45903$de0f11c0$07c8a8c0@miguel2000>
References: <00a701c45903$de0f11c0$07c8a8c0@miguel2000>
* 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