From: Joseph Shraibman <jks@selectacast.net>
To: Dave Cramer <pg@fastcrypt.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: problem: query result in jdbc is <> result in psql
Date: Mon, 09 Jan 2012 13:01:02 -0500
Message-ID: <4F0B2B5E.8030703@selectacast.net> (raw)
In-Reply-To: <CADK3HHJMRSj6jPaoXSjt+nb-C5g_nzR4=6AX80k9HPt-R0-Yvg@mail.gmail.com>
References: <jedbd4$bo7$1@news.hub.org>
<jedd6l$21mu$1@news.hub.org>
<CADK3HHKe-yGSsfKAVEyL5rm+5x=iecVsuDWU5q7to7sCZUG8Lg@mail.gmail.com>
<4F0B228E.8060708@selectacast.net>
<CADK3HHJMRSj6jPaoXSjt+nb-C5g_nzR4=6AX80k9HPt-R0-Yvg@mail.gmail.com>
I created table a with generate_series.
jks=# \d a
Table "public.a"
Column | Type | Modifiers
-----------------+---------+-----------
generate_series | integer |
I lock it by doing:
jks=# begin; lock table a;
BEGIN
LOCK TABLE
On 01/09/2012 12:49 PM, Dave Cramer wrote:
> Joseph,
>
> Same versions and I am unable to replicate this here. Can you send me
> your schema, and how you are locking it ?
>
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
>
> On Mon, Jan 9, 2012 at 12:23 PM, Joseph Shraibman<jks@selectacast.net> wrote:
>> PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.6.1
>> 20110908 (Red Hat 4.6.1-9), 64-bit
>>
>>
>> java version is 1.6.0_29
>>
>>
>> On 01/09/2012 07:08 AM, Dave Cramer wrote:
>>>
>>> Joseph,
>>>
>>> I just tried your code using the latest driver and pg 8.4 and 9.1 it
>>> works fine. What version of the server are you using ?
>>>
>>
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: jks@selectacast.net, pg@fastcrypt.com
Subject: Re: problem: query result in jdbc is <> result in psql
In-Reply-To: <4F0B2B5E.8030703@selectacast.net>
References: <jedbd4$bo7$1@news.hub.org> <jedd6l$21mu$1@news.hub.org> <CADK3HHKe-yGSsfKAVEyL5rm+5x=iecVsuDWU5q7to7sCZUG8Lg@mail.gmail.com> <4F0B228E.8060708@selectacast.net> <CADK3HHJMRSj6jPaoXSjt+nb-C5g_nzR4=6AX80k9HPt-R0-Yvg@mail.gmail.com> <4F0B2B5E.8030703@selectacast.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