Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A82D52E00FE for ; Fri, 29 Feb 2008 12:59:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 76455-02 for ; Fri, 29 Feb 2008 12:59:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 560FA2E00D3 for ; Fri, 29 Feb 2008 12:59:19 -0400 (AST) Received: (qmail 19764 invoked by uid 1112); 29 Feb 2008 16:59:17 -0000 Date: Fri, 29 Feb 2008 11:59:17 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: dmp cc: pgsql-jdbc@postgresql.org Subject: Re: Array Char/VarChar Size In-Reply-To: <47C512CA.9010808@ttc-cmc.net> Message-ID: References: <47C512CA.9010808@ttc-cmc.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/202 X-Sequence-Number: 18409 On Wed, 27 Feb 2008, dmp wrote: > Given a defined table as such: > > CREATE TABLE array_types ( > > data_type_id serial NOT NULL, > decimal_array decimal(16,2)[] DEFAULT NULL, > numeric_array numeric(10,2)[] DEFAULT NULL, > varchar_array varchar(30)[] DEFAULT NULL, > char_array char(30)[][] DEFAULT NULL, > PRIMARY KEY (data_type_id) > ); > > How do I obtain the precision, decimal places, or character > sizing information from the database. Notice these are array > types. Currently the driver does not return this information, but we've listed it as an open feature request: http://pgfoundry.org/tracker/index.php?func=detail&aid=1010248&group_id=1000224&atid=857 Kris Jurka