From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Graham Vickrage <graham@gpmd.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Text field truncation problem
Date: Mon, 25 Nov 2002 11:26:26 +0900
Message-ID: <3DE18A52.B287301E@tpf.co.jp> (raw)
References: <EKEJJICOHDIEMGPNIFIJGEBMJNAA.Inoue@tpf.co.jp>
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/
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: Inoue@tpf.co.jp, graham@gpmd.co.uk
Subject: Re: Text field truncation problem
In-Reply-To: <3DE18A52.B287301E@tpf.co.jp>
References: <EKEJJICOHDIEMGPNIFIJGEBMJNAA.Inoue@tpf.co.jp> <3DE18A52.B287301E@tpf.co.jp>
* 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