Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 915E32E156A for ; Mon, 17 Dec 2007 18:22:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 23546-01-2 for ; Mon, 17 Dec 2007 18:22:37 -0400 (AST) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by postgresql.org (Postfix) with ESMTP id 8AB582E2EB9 for ; Mon, 17 Dec 2007 18:22:40 -0400 (AST) Received: by an-out-0708.google.com with SMTP id c36so607688ana.33 for ; Mon, 17 Dec 2007 14:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=aBgK3A5+uO1329jwNDrWhJUZ3JOJXxU8jhjpWu2fUto=; b=TFNlTGKZ75y8gf6p3dxLSLDjdnd2/OCEKWWduBk1IBoq1HJ0SVV3FDfNRFaC2hwC8TbVd549ru73OUCl6Cj2Fn2+5Sc7NaZFREOep/HeionPp/IbaBI0EzKOVNrBPWDbtvPxzqVpp4Fm9rJABbXlU6wV48WGn972TAk/CSV5hU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=JsssyRCzzF6J3MEKWut0tk+COP+1pkLjfiziGg+acle9UMA4JKhn3zrNglJWiSp7i+qPsTCraOe3l6kkOU0njbwlIpB/EjC6joK9dCivqRhwEFjfqUlDrPp1Nx+9Tvy8wnCRE7y3L04vGf9D290T/1SfG1zi6NjAfioECLH1e6k= Received: by 10.100.106.1 with SMTP id e1mr15812734anc.10.1197930159735; Mon, 17 Dec 2007 14:22:39 -0800 (PST) Received: by 10.100.11.6 with HTTP; Mon, 17 Dec 2007 14:22:39 -0800 (PST) Message-ID: <8f60d3bd0712171422p6fce1bedn68b91c48e76692c6@mail.gmail.com> Date: Mon, 17 Dec 2007 22:22:39 +0000 From: abyss To: pgsql-jdbc@postgresql.org Subject: DatabaseMetaData and numeric array MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8967_26173802.1197930159730" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/127 X-Sequence-Number: 17982 ------=_Part_8967_26173802.1197930159730 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Is there a way to get proper precision and scale of numeric array? eg: create table public.test ( testnum numeric(18,4)[] ); DatabaseMetaData.getPrecision and getScale always return 0... Thanks! ------=_Part_8967_26173802.1197930159730 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi! Is there a way to get proper precision and scale of numeric array?
 
eg:
create table public.test (
testnum numeric(18,4)[]
);
 
DatabaseMetaData.getPrecision and getScale always return 0...
 
Thanks!
------=_Part_8967_26173802.1197930159730--