Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UnUfe-0003qg-4X for pgsql-odbc@arkaria.postgresql.org; Fri, 14 Jun 2013 14:08:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UnUfd-0007PS-LO for pgsql-odbc@arkaria.postgresql.org; Fri, 14 Jun 2013 14:08:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UnUfd-0007PN-6i for pgsql-odbc@postgresql.org; Fri, 14 Jun 2013 14:08:05 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UnUfY-0002Yy-Ep for pgsql-odbc@postgresql.org; Fri, 14 Jun 2013 14:08:04 +0000 Received: (qmail 11638 invoked by uid 512); 14 Jun 2013 14:07:55 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 14 Jun 2013 14:07:55 -0000 Received: from unknown (HELO ?192.168.1.3?) (110.5.25.94) by sd.tpf.co.jp with SMTP; 14 Jun 2013 14:07:55 -0000 Message-ID: <51BB23B1.2030905@tpf.co.jp> Date: Fri, 14 Jun 2013 23:07:45 +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> In-Reply-To: <51BABF72.2090107@joops.com> 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 Hi Josef, (2013/06/14 16:00), Josef Springer wrote: > Hello, > > i am using > - PostgreSQL 8.2.5 > - ODBC: PostgreSQL Unicode 8.02.04.0 > > When i am inserting via the ADO-driver a row with column text with > textsize about 10000, i get the ado error 0x80004005. > Inserting the same row with the SQL-editor in pgAdmin III works fine. > > The ado details: > Using cursorLocation = adUseClient > Using lockType = adLockBatchOptimistic > recordset editNew ... putting column values ... recordset addNew, > recordSet updateBatch (thows the ado error) > > Has the ADO-diver any limitation ? > Thanks for any help ! Please try to increase *MaxLongVarcharSize*. 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