Bug? with LF <-> LCR/LF conversion - Mailing list pgsql-odbc

From Miguel Juan
Subject Bug? with LF <-> LCR/LF conversion
Date
Msg-id 00a701c45903$de0f11c0$07c8a8c0@miguel2000
Whole thread Raw
List pgsql-odbc
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
 
 
 
 

pgsql-odbc by date:

Previous
From: Jon Schewe
Date:
Subject: Re: iODBC vs unixODBC
Next
From: Jon Schewe
Date:
Subject: Re: iODBC vs unixODBC