Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 2FAEC9FA4CF for ; Thu, 4 Jan 2007 13:52:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 36724-10 for ; Thu, 4 Jan 2007 13:52:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id 621C79FA4D6 for ; Thu, 4 Jan 2007 13:52:28 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id AF4ABF314; Thu, 4 Jan 2007 12:52:27 -0500 (EST) Date: Thu, 4 Jan 2007 12:52:27 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: John LH cc: pgsql-jdbc@postgresql.org Subject: Re: Driver Bug In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/18 X-Sequence-Number: 16383 On Wed, 20 Dec 2006, John LH wrote: > I've found a bug in the drivers which seem to occur in the "8.1-408 JDBC 3" > and "8.2-504 JDBC 3" drivers when executing on a 8.1 and 8.2 PG Server. The > problem does not occur on a 8.0 server. > > The problem occurs when the following situation is produced ... > > 1. Connection.autoCommit(true); > 2. Statement.setMaxRows(1); > 3. Statement.execute("select * from information_schema.parameters"); > > In this case, the Statement.execute() will never return and basically put > the application in a hanging state. I cannot reproduce this on a 8.1.5 database with the 8.2-504 driver using the attached code. Can you? If so could you send back the results of it's execution until the point it hangs with the additional connection URL parameter loglevel=2? Is it possible you just have a very large amount of data in information_schema.parameters and it's taking a while to respond? Kris Jurka