From: | "Yann PICHOT" <ypichot(at)gmail(dot)com> |
---|---|
To: | "Kris Jurka" <books(at)ejurka(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Fwd: Diffrence between 8.0.3 and 8.1.3 |
Date: | 2006-07-06 13:17:08 |
Message-ID: | 6ff7932d0607060617mda3ffb4sffdc8af30878a5eb@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
2006/7/5, Kris Jurka <books(at)ejurka(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2006-07-06 21:24:59 | Re: [BUGS] BUG #2517: Trouble with cx_Oracle and Plpython |
Previous Message | Sergey Konoplev | 2006-07-06 08:27:53 | BUG #2517: Trouble with cx_Oracle and Plpython |
From | Date | Subject | |
---|---|---|---|
Next Message | Charles Curi | 2006-07-07 18:40:52 | Encoding |
Previous Message | Sebastien DIAZ | 2006-07-06 07:43:05 | JDBC Driver for Postgres. I add a little cache for al less lot of Metadata request |