X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B43109DCA6E for ; Wed, 8 Feb 2006 21:15:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97709-09 for ; Wed, 8 Feb 2006 21:15:15 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id B16949DC828 for ; Wed, 8 Feb 2006 21:15:08 -0400 (AST) Received: (qmail 17728 invoked from network); 9 Feb 2006 01:15:12 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 9 Feb 2006 01:15:12 -0000 In-Reply-To: <43EA12E5.EE98.0025.0@wicourts.gov> References: <43EA12E5.EE98.0025.0@wicourts.gov> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: PGobject returned from ResultSet.getObject Date: Wed, 8 Feb 2006 20:15:11 -0500 To: Kevin Grittner X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200602/61 X-Sequence-Number: 14658 Kevin, Can you give us more information. Is this using a pool, threads? Basically the type information comes back in the protocol, so it would appear that is getting scribbled on. It would be interesting to see if the rest of the fields are still good after the bad one? Dave On 8-Feb-06, at 4:48 PM, Kevin Grittner wrote: > Attached is a code snippet and the problems from running about 390,000 > queries overnight. This has been happening for us, at low volume, > since > we started using PostgreSQL -- initially with the jars that were > release > in conjunction with 8.0. It has happened with the jars released in > conjunction with 8.1. This latest listing is from a JDBC driver built > off the trunk as of Jan. 13th. > > Athena and Plato are two identical PostgreSQL 8.1.2 databases, which > are the targets of identical updates. In the process generating these > problems, the same SELECT queries were run against both databases > at the > same time. While they both had some of these problems (on the > order of > 0.001% of the queries run), they did not occur on the SAME > queries. All > columns are defined with either a normal ANSI data type or a DOMAIN > which maps to a normal ANSI data type. > > This smells like a race condition of some sort, but I'm not sure how. > Any ideas on where to look or what we could programatically check for > when we see one of these? I'm casting about for ideas which would > avoid > turning on debug logging in the JDBC driver, although I suspect > that may > be what we wind up having to do. > > -Kevin > > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings