Received: from email.fdn.com (email.fdn.com [216.199.0.136]) by hub.org (8.9.3/8.9.3) with ESMTP id TAA72543 for ; Tue, 1 Feb 2000 19:49:29 -0500 (EST) (envelope-from mtsinc@southeast.net) Received: from southeast.net (mail.mousetech.com [216.199.14.19] (may be forged)) by email.fdn.com (Pro-8.9.3/8.9.3) with ESMTP id TAA18489 for ; Tue, 1 Feb 2000 19:49:11 -0500 (EST) Message-ID: <38977CBF.EF06295@southeast.net> Date: Tue, 01 Feb 2000 19:39:27 -0500 From: Tim Holloway X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin Subject: jdbc bug Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Postgresql v6.5.2 - postgresql.jar The ResultSet metadata function getColumnDisplaySize() is returning the number of characters in the column's name. I don't THINK SO..... 1. The JavaDocs say it's supposed to be the "the column's normal max width in chars". I take this as the DATA width, not the name width. After all: 2. It REALLY screws up Symantec's wizard-generated code when a column named "foo" is loaded with a 25-character street address. An uncaught exception is thrown saying the column is only 3 characters wide. 3. If I actually wanted to know that, I could just use the length function on the getColumnName() string.