From: Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
To: jens@jens.de
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)
Date: Mon, 2 Aug 1999 13:12:00 -0500
Message-ID: <19990802131200.A15411@wallace.ece.rice.edu> (raw)
In-Reply-To: <Pine.LNX.4.05.9908021919100.1185-100000@helena.jens.de>
References: <Pine.LNX.4.05.9908021919100.1185-100000@helena.jens.de>
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
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: reedstrm@wallace.ece.rice.edu, jens@jens.de
Subject: Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize)
In-Reply-To: <19990802131200.A15411@wallace.ece.rice.edu>
* 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