Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize) - Mailing list pgsql-interfaces

From Ross J. Reedstrom
Subject Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)
Date
Msg-id 19990802131200.A15411@wallace.ece.rice.edu
Whole thread Raw
In response to sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)  (Jens Glaser <jens@helena.jens.de>)
Responses Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)  (Jens Glaser <jens@helena.jens.de>)
List 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@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005


pgsql-interfaces by date:

Previous
From: Héctor Morales
Date:
Subject:
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Re: your mail