Re: BUG? res.next() == false, but psql finds tuples? - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: BUG? res.next() == false, but psql finds tuples?
Date
Msg-id 42697654.8030702@opencloud.com
Whole thread Raw
In response to Re: BUG? res.next() == false, but psql finds tuples?  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: BUG? res.next() == false, but psql finds tuples?
List pgsql-jdbc
Dave Cramer wrote:
> Certainly looks like a bug, in the java version mango is not quoted so
> pg thinks it is a column.
>
> Although I just checked the test cases and we do this all the time ???

The (lack of) quoting is a red herring, it's just how our
PreparedStatement.toString() is implemented. The actual query sent uses
$1/$2 as you can see in the tcpdump.

-O

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Threading problem
Next
From: Palle Girgensohn
Date:
Subject: Re: Threading problem