pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DatabaseMetaData and numeric array
2+ messages / 2 participants
[nested] [flat]

* DatabaseMetaData and numeric array
@ 2007-12-17 22:22 abyss <kurjak@gmail.com>
  2007-12-18 04:42 ` Re: DatabaseMetaData and numeric array Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: abyss @ 2007-12-17 22:22 UTC (permalink / raw)
  To: pgsql-jdbc

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!

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DatabaseMetaData and numeric array
  2007-12-17 22:22 DatabaseMetaData and numeric array abyss <kurjak@gmail.com>
@ 2007-12-18 04:42 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2007-12-18 04:42 UTC (permalink / raw)
  To: abyss <kurjak@gmail.com>; +Cc: pgsql-jdbc



On Mon, 17 Dec 2007, abyss wrote:

> Hi! Is there a way to get proper precision and scale of numeric array?
>

Getting metadata on array types doesn't work at the moment.  This is a 
known issue as reported here.

http://archives.postgresql.org/pgsql-jdbc/2007-11/msg00069.php

Kris Jurka



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-12-18 04:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-12-17 22:22 DatabaseMetaData and numeric array abyss <kurjak@gmail.com>
2007-12-18 04:42 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox