From: Yann PICHOT <ypichot@gmail.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Fwd: Diffrence between 8.0.3 and 8.1.3
Date: Thu, 6 Jul 2006 15:17:08 +0200
Message-ID: <6ff7932d0607060617mda3ffb4sffdc8af30878a5eb@mail.gmail.com> (raw)
In-Reply-To: <Pine.BSO.4.63.0607051425130.31538@leary2.csoft.net>
References: <6ff7932d0607030819o4775c43fr2762dd390d4cd76@mail.gmail.com>
<Pine.BSO.4.63.0607031038150.850@leary2.csoft.net>
<6ff7932d0607031132v4722bef8h9b98a45b072f2cc6@mail.gmail.com>
<6ff7932d0607040107n30227e50vc8990eefdeb03133@mail.gmail.com>
<6ff7932d0607042357x4a464cdv2167c4b1ab12e775@mail.gmail.com>
<Pine.BSO.4.63.0607051425130.31538@leary2.csoft.net>
2006/7/5, Kris Jurka <books@ejurka.com>:
>
>
>
> On Wed, 5 Jul 2006, Yann PICHOT wrote:
>
> > When i use this SQL request : SELECT col1, cast(' ' as varchar(3)) as
> mycol
> > FROM mytable, getColumnDisplaySize return -5.
> > When i use this SQL request : SELECT col1, cast(' ' as varchar(3)) as
> mycol,
> > getColumnDisplaySize return 3 !!!!
> >
>
> OK, I misunderstood your test case and was only looking at the second
> version which works. As you noted earlier the server is responding with a
> different typmod value, so this is not a JDBC problem, but a server
> regression and I've forwarded this on to the -bugs list. To summarize for
> them:
>
> In 8.0 "SELECT ' '::varchar(3) FROM tab" retained the typmod value
> specified in the query, but in 8.1 it is lost and -1 is used instead.
>
> Kris Jurka
>
Thanks, i'll follow the problem in the bug list.
--
Yann
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: ypichot@gmail.com, books@ejurka.com
Subject: Re: Fwd: Diffrence between 8.0.3 and 8.1.3
In-Reply-To: <6ff7932d0607060617mda3ffb4sffdc8af30878a5eb@mail.gmail.com>
References: <6ff7932d0607030819o4775c43fr2762dd390d4cd76@mail.gmail.com> <Pine.BSO.4.63.0607031038150.850@leary2.csoft.net> <6ff7932d0607031132v4722bef8h9b98a45b072f2cc6@mail.gmail.com> <6ff7932d0607040107n30227e50vc8990eefdeb03133@mail.gmail.com> <6ff7932d0607042357x4a464cdv2167c4b1ab12e775@mail.gmail.com> <Pine.BSO.4.63.0607051425130.31538@leary2.csoft.net> <6ff7932d0607060617mda3ffb4sffdc8af30878a5eb@mail.gmail.com>
* 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