Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2C59847592C for ; Sun, 24 Nov 2002 21:24:51 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 64D794758E6 for ; Sun, 24 Nov 2002 21:24:49 -0500 (EST) Received: (qmail 3844 invoked from network); 25 Nov 2002 02:24:51 -0000 Received: from unknown (HELO tpf.co.jp) (126.0.1.60) by sd2.tpf-fw-c.co.jp with SMTP; 25 Nov 2002 02:24:51 -0000 Message-ID: <3DE18A52.B287301E@tpf.co.jp> Date: Mon, 25 Nov 2002 11:26:26 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Graham Vickrage Cc: pgsql-odbc@postgresql.org Subject: Re: Text field truncation problem References: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/128 X-Sequence-Number: 2305 Hiroshi Inoue wrote: > > > -----Original Message----- > > From: Graham Vickrage [mailto:graham@gpmd.co.uk] > > > > Further to my e-mail below, I have tried the same thing on a production > > database running a different version of Linux / Postgres. I have tried > > this on two separate clients NT and XP and they all have the same > > problem! Should I start shopping around for a different ODBC driver? > > > > Can anyone shed some light on this, surely my set up is pretty > > standard??? > > If the max length of the "descriptor" < 255, please turn off > the "Text As LongVarChar" DSN option. Or set the LongReadLen or LongTruncOk attribute before calling prepare. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/