Re: Text field truncation problem

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Graham Vickrage <graham(at)gpmd(dot)co(dot)uk>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Text field truncation problem
Date: 2002-11-25 02:26:26
Message-ID: 3DE18A52.B287301E@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hiroshi Inoue wrote:
>
> > -----Original Message-----
> > From: Graham Vickrage [mailto:graham(at)gpmd(dot)co(dot)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/

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Glen Parker 2002-11-25 08:55:08 Re: Bug in latest ODBC driver (07.02.0004)
Previous Message Hiroshi Inoue 2002-11-25 01:56:25 Re: Bug in latest ODBC driver (07.02.0004)