Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)

From: "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu>
To: jens(at)jens(dot)de
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)
Date: 1999-08-02 18:12:00
Message-ID: 19990802131200.A15411@wallace.ece.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Mon, Aug 02, 1999 at 07:23:07PM +0000, Jens Glaser wrote:
> Hi,
>
> here's just another annoying bug in the JDBC driver:
>
> ResultSetMetaData.getColumnDisplaySize() returns the length of the
> *column label*, but it is expected to return the max width of the column!
>

Hmm, the Zope Python interface suffers from the same problem (and the
same work around): lack of column width info, substituting the column
label length.

> Sorry, I don't have a fix right now, maybe I get around writing one today
> or so ..

Let me know how you solve it, I'll need to take a crack at it for mine
as well.

Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1999-08-02 18:28:58 Re: [INTERFACES] Re: your mail
Previous Message The Hermit Hacker 1999-08-02 17:56:20 Re: your mail