X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B890E5676A for ; Wed, 16 Mar 2005 21:16:26 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12084-08 for ; Wed, 16 Mar 2005 21:16:25 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 2E86B5675F for ; Wed, 16 Mar 2005 21:16:24 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1DBfsM-0006f4-00; Thu, 17 Mar 2005 10:16:22 +1300 Message-ID: <4238A223.4030003@opencloud.com> Date: Thu, 17 Mar 2005 10:16:19 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Glenn Holmer Cc: pgsql-jdbc@postgresql.org Subject: Re: invalid string enlargement request References: <42389DFC.5090408@weycogroup.com> In-Reply-To: <42389DFC.5090408@weycogroup.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/155 X-Sequence-Number: 12547 Glenn Holmer wrote: > Not sure if this is a JDBC or general Postgres question, but we're > losing a web app's connection to Postgres with these errors: > > invalid string enlargement request size 1358954494 > AbortTransaction and not in in-progress state This is the backend trying to allocate a very large string for some reason, perhaps because of a silly-sized protocol message being received or sent. Are you working with large bytea data at all? > invalid frontend message type 41 And this is the protocol stream getting out of sync, possibly because of the above error. > This is with Postgres 7.4.7 and driver pg74.213.jdbc3.jar. Can you try with the latest (build 310) driver and see if the problem persists? If so, can you send a testcase that demonstrates the problem? Or at least the query code that fails plus the complete exception you get. -O