Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Unc3n-0007Pw-EG for pgsql-odbc@arkaria.postgresql.org; Fri, 14 Jun 2013 22:01:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Unc3m-0005my-Jn for pgsql-odbc@arkaria.postgresql.org; Fri, 14 Jun 2013 22:01:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Unc3k-0005mq-RN for pgsql-odbc@postgresql.org; Fri, 14 Jun 2013 22:01:28 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Unc3h-0002im-AW for pgsql-odbc@postgresql.org; Fri, 14 Jun 2013 22:01:28 +0000 Received: (qmail 28529 invoked by uid 512); 14 Jun 2013 22:01:23 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 14 Jun 2013 22:01:23 -0000 Received: from unknown (HELO ?192.168.1.3?) (110.5.25.94) by sd.tpf.co.jp with SMTP; 14 Jun 2013 22:01:23 -0000 Message-ID: <51BB92A5.8060305@tpf.co.jp> Date: Sat, 15 Jun 2013 07:01:09 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Josef Springer CC: pgsql-odbc@postgresql.org Subject: Re: ADO-Error when inserting row with text column with large text References: <51BABF72.2090107@joops.com> <51BB23B1.2030905@tpf.co.jp> <51BB2D83.5080909@joops.com> <51BB332C.1010502@tpf.co.jp> In-Reply-To: <51BB332C.1010502@tpf.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org (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=;Pwd=;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