pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Josef Springer <Josef.Springer@joops.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ADO-Error when inserting row with text column with large text
Date: Sat, 15 Jun 2013 07:01:09 +0900
Message-ID: <51BB92A5.8060305@tpf.co.jp> (raw)
In-Reply-To: <51BB332C.1010502@tpf.co.jp>
References: <dktb0r$85d$1@news.hub.org>
	<51BABF72.2090107@joops.com>
	<51BB23B1.2030905@tpf.co.jp>
	<51BB2D83.5080909@joops.com>
	<51BB332C.1010502@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(2013/06/15 0:13), Hiroshi Inoue wrote:
> (2013/06/14 23:49), Josef Springer wrote:
>> Hi Hiroshi,
>>
>> thanks for your hint.
>> But where to change *MaxLongVarcharSize* ?
>> I open the recordset with
>> /Open( "select * from table", activeConnection: "Driver={PostgreSQL
>> Unicode};Server=localhost;Uid=<uid>;Pwd=<pwd>;Database=<database>" )/
>
> Add  ;MaxVarcharSize=xxxxxx  to your connection string.
> The default is 8190.

Please also try to add
   TextAsLongVarchar=1
option to your connection string.

regards,
Hiroshi Inoue



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (9+ messages)  latest in thread

Message-ID: <51BB92A5.8060305@tpf.co.jp>
Permalink:  ../51BB92A5.8060305@tpf.co.jp/
Also on:    postgresql.org/message-id/51BB92A5.8060305@tpf.co.jp

 · 

reply

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, Josef.Springer@joops.com
  Subject: Re: ADO-Error when inserting row with text column with large text
  In-Reply-To: <51BB92A5.8060305@tpf.co.jp>
  References: <dktb0r$85d$1@news.hub.org> <51BABF72.2090107@joops.com> <51BB23B1.2030905@tpf.co.jp> <51BB2D83.5080909@joops.com> <51BB332C.1010502@tpf.co.jp> <51BB92A5.8060305@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