X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AABDDD1B1B3 for ; Fri, 9 Jul 2004 20:55:31 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65877-04 for ; Fri, 9 Jul 2004 23:55:32 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 81B5ED1B1A0 for ; Fri, 9 Jul 2004 20:55:18 -0300 (ADT) Received: (qmail 4165 invoked by uid 1112); 9 Jul 2004 23:55:07 -0000 Date: Fri, 9 Jul 2004 18:55:07 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Dario V. Fassi" Cc: pgsql-jdbc@postgresql.org Subject: Re: ResultSerMetaData.getColumnDisplaySize() with timestamp In-Reply-To: <40EB98BD.9060700@sistemat.com.ar> Message-ID: References: <40E6088E.6030703@yahoo.com.ar> <40E6E7AF.5020306@sistemat.com.ar> <40E6FD7F.50801@sistemat.com.ar> <20040704153840.Y52747@megazone.bigpanda.com> <40E89282.9060306@sistemat.com.ar> <20040704173258.Y55353@megazone.bigpanda.com> <40E8AA9A.7020806@sistemat.com.ar> <40EB98BD.9060700@sistemat.com.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/80 X-Sequence-Number: 10464 On Wed, 7 Jul 2004, Dario V. Fassi wrote: > Hi all, > > I believe that the method ResultSerMetaData.getColumnDisplaySize() > with timestamp columns return 0 length > when they would return 19 or 26. I've modified the cvs version of the driver to return a size for times and timestamps with timezones. > The same way , methods getColumnPresicion() and getColumnScale() . > I've modified the cvs version of the driver to return the number of fractional seconds in time/timezone fields in the getScale() method. I'm not sure what you are implying about getPrecision here. Kris Jurka