Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UnU34-0001ww-KN for pgsql-odbc@arkaria.postgresql.org; Fri, 14 Jun 2013 13:28:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UnU34-0006AD-3Z for pgsql-odbc@arkaria.postgresql.org; Fri, 14 Jun 2013 13:28:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UnU33-0006A8-Is for pgsql-odbc@postgresql.org; Fri, 14 Jun 2013 13:28:13 +0000 Received: from vserver0403.onit4u.de ([213.133.112.9]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UnU2x-0001pU-DY for pgsql-odbc@postgresql.org; Fri, 14 Jun 2013 13:28:13 +0000 X-PDA-ORIGIN: vserver0403.onit4u.de Received: (qmail 428 invoked from network); 14 Jun 2013 13:28:00 -0000 Received: by simscan 1.4.0 ppid: 417, pid: 426, t: 0.2051s scanners: clamav: 0.97.7/m:54/d:17351 Received: from unknown (HELO ?192.168.10.102?) (Josef.Springer@joops.com@88.64.4.118) by vserver0403.onit4u.de with SMTP; 14 Jun 2013 13:27:59 -0000 Message-ID: <51BB1A75.6040406@joops.com> Date: Fri, 14 Jun 2013 15:28:21 +0200 From: Josef Springer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Heikki Linnakangas CC: pgsql-odbc@postgresql.org Subject: Re: ADO-Error when inserting row with text column with large text References: <51BABF72.2090107@joops.com> <51BACCEF.9010103@vmware.com> In-Reply-To: <51BACCEF.9010103@vmware.com> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.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 Hello Heikki,

thanks for your quick answer !
I have no possibility to update the server in the next time. But i must work the ODBC-Insert quickly.
Because inserting the row with the lage text column works in pgAdmin III, may be the ODBC-driver is the reason. Can i update the ODBC-Driver only to make it work ?

Thanks for you help !

Josef Springer

On 14.06.2013 09:57, Heikki Linnakangas wrote:
On 14.06.2013 10:00, Josef Springer wrote:
Hello,

i am using
- PostgreSQL 8.2.5
- ODBC: PostgreSQL Unicode 8.02.04.0

You seriously need to upgrade. PostgreSQL 8.2.5 was released in 2007, and is no longer supported by the community. That ODBC version is really old as well. There has been a lot of bug fixes and improvements in both the server and the driver since.

I'd recommend upgrading the server immediately to the last 8.2 release, 8.2.23, as that only requires replacing the binaries. Then start planning for a major version upgrade to PostgreSQL 9.2.

Try with the latest version of the ODBC driver, it should also work with older server versions. I don't know if it will help with your problem, but since you should upgrade anyway, it's worth doing that first, and see if it happens to fix it.

- Heikki