From: Kris Jurka <books@ejurka.com>
To: dmp <danap@ttc-cmc.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Array Char/VarChar Size
Date: Fri, 29 Feb 2008 11:59:17 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0802291158350.30735@leary.csoft.net> (raw)
In-Reply-To: <47C512CA.9010808@ttc-cmc.net>
References: <47C512CA.9010808@ttc-cmc.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, danap@ttc-cmc.net
Subject: Re: Array Char/VarChar Size
In-Reply-To: <Pine.BSO.4.64.0802291158350.30735@leary.csoft.net>
References: <47C512CA.9010808@ttc-cmc.net> <Pine.BSO.4.64.0802291158350.30735@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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