Received: from wallace.ece.rice.edu (root@wallace.ece.rice.edu [128.42.12.154]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA90680 for ; Mon, 2 Aug 1999 14:25:15 -0400 (EDT) (envelope-from reedstrm@wallace.ece.rice.edu) Received: by wallace.ece.rice.edu via sendmail from stdin id (Debian Smail3.2.0.102) for pgsql-interfaces@postgreSQL.org; Mon, 2 Aug 1999 13:12:00 -0500 (CDT) Date: Mon, 2 Aug 1999 13:12:00 -0500 From: "Ross J. Reedstrom" To: jens@jens.de Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] sigh .. another bug in the JDBC driver (ResultSetMetaData.getColumnDisplaySize) Message-ID: <19990802131200.A15411@wallace.ece.rice.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Jens Glaser on Mon, Aug 02, 1999 at 07:23:07PM +0000 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., NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005