X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6AB22D1B21B for ; Wed, 23 Jun 2004 06:24:06 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82341-04 for ; Wed, 23 Jun 2004 09:23:59 +0000 (GMT) Received: from cibal.es (97.Red-80-59-70.pooles.rima-tde.net [80.59.70.97]) by svr1.postgresql.org (Postfix) with ESMTP id BF54CD1B170 for ; Wed, 23 Jun 2004 06:23:55 -0300 (ADT) Received: from miguel2000 ([192.168.200.7]) (authenticated user mjuan@cibal.es) by cibal.es (cibal.es [192.168.200.1]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 17-md50000001506.tmp for ; Wed, 23 Jun 2004 11:20:37 +0200 Message-ID: <00a701c45903$de0f11c0$07c8a8c0@miguel2000> From: "Miguel Juan" To: Subject: Bug? with LF <-> LCR/LF conversion Date: Wed, 23 Jun 2004 11:24:20 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A4_01C45914.A10CB8C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Authenticated-Sender: mjuan@cibal.es X-Spam-Processed: cibal.es, Wed, 23 Jun 2004 11:20:37 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.200.7 X-Return-Path: mjuan@cibal.es X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.5 tagged_above=0.0 required=5.0 tests=HTML_40_50, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200406/58 X-Sequence-Number: 4128 This is a multi-part message in MIME format. ------=_NextPart_000_00A4_01C45914.A10CB8C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hy, I'm having a problem with the LF<-> CR/LF conversion option in the PostGre= SQL ODBC driver. When I use this option I do not retrieve the 'n' last char= acters 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 ch= aracter (I mean for Windows). It looks like that the LF-CR/LF conversion do not consider the new characte= rs 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 n= ot use it due to BDE issues. PostGreSQL server version:PostgreSQL 7.3.4 on i686-pc-linux-gnu, compiled b= y GCC 2.96 ODBC driver: psqlodbc-07_03_0200=20 Regards Miguel Juan ------=_NextPart_000_00A4_01C45914.A10CB8C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hy,
 
I'm having a problem with the LF<-> = CR/LF=20 conversion option in the  PostGreSQL ODBC driver. When I use this= =20 option I do not retrieve the 'n' last characters of the string, where 'n' i= s the=20 number of lines inside a TEXT field. And if I do not mark this option, it d= on't=20 print correctly the new line character (I mean for Windows).
 
 
It looks like that the LF-CR/LF conversion= do not=20 consider the new characters added to the string and it cuts the string= to=20 its original size, loosing the last bytes.
 
NOTE: With the Text as LongVarchar option= =20 active it works fine, but I can not use it due to BDE issues.
 
PostGreSQL server version:PostgreSQL 7.3.4= on=20 i686-pc-linux-gnu, compiled by GCC 2.96
ODBC driver: psqlodbc-07_03_0200
 
Regards
 
Miguel Juan
 
 
 
 
------=_NextPart_000_00A4_01C45914.A10CB8C0--