Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?

From: DGPickett <DGPickett(at)aol(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
Date: 2009-02-26 19:53:10
Message-ID: 3c7f373b-77e6-4860-984e-101af492abe3@f37g2000vbf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Feb 26, 1:18 pm, bo(dot)(dot)(dot)(at)ejurka(dot)com (Kris Jurka) wrote:

> The server is responsible for determining the type and length of data, not
> the JDBC driver.  The server tells the JDBC driver that it is unknown and
> the driver has to do something with it.  You are still ignoring the fact
> that there must be cases where the server cannot possibly know the length
> of a piece of data even if it was capable of of handling the simpler
> cases.
>
> Kris Jurka
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-j(dot)(dot)(dot)(at)postgresql(dot)org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-jdbc

Well, can the JDBC team raise this issue with the postgres server
team, that many relatively obvious cases are being marked 'width
unknown'?

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2009-02-26 20:54:46 Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
Previous Message Kris Jurka 2009-02-26 18:18:55 Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?