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 78CBED1B1B7 for ; Thu, 8 Jul 2004 03:46:34 -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 55450-03 for ; Thu, 8 Jul 2004 06:46:34 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 35F39D1B1B6 for ; Thu, 8 Jul 2004 03:46:30 -0300 (ADT) Received: (qmail 19102 invoked by uid 1112); 8 Jul 2004 06:46:25 -0000 Date: Thu, 8 Jul 2004 01:46:25 -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/54 X-Sequence-Number: 10438 On Wed, 7 Jul 2004, Dario V. Fassi wrote: > I believe that the method ResultSerMetaData.getColumnDisplaySize() > with timestamp columns return 0 length > when they would return 19 or 26. Yes it appears to only handle timestamp and not timestamp with time zone. Will fix. > The same way , methods getColumnPresicion() and getColumnScale() . I'm not sure what this comment means. I'm guessing you'd like to be able to tell the difference between timestamp(0) and timestamp(6), but that is not clear. As I understood it these numbers were really only for numeric types, but extending that to timestamps does seem useful. Kris Jurka