pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: John LH <johnlh@aquafold.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Driver Bug
Date: Thu, 4 Jan 2007 12:52:27 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0701041248510.24201@leary2.csoft.net> (raw)
In-Reply-To: <e91948a90612201022w20864c67keca55ec2ae113d2@mail.gmail.com>
References: <e91948a90612201022w20864c67keca55ec2ae113d2@mail.gmail.com>



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





view thread (4+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0701041248510.24201@leary2.csoft.net>
Permalink:  ../Pine.BSO.4.64.0701041248510.24201@leary2.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0701041248510.24201@leary2.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, johnlh@aquafold.com
  Subject: Re: Driver Bug
  In-Reply-To: <Pine.BSO.4.64.0701041248510.24201@leary2.csoft.net>
  References: <e91948a90612201022w20864c67keca55ec2ae113d2@mail.gmail.com> <Pine.BSO.4.64.0701041248510.24201@leary2.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox