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 12:53:57 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0802291248520.30295@leary.csoft.net> (raw)
In-Reply-To: <47C8419F.2060909@ttc-cmc.net>
References: <47C512CA.9010808@ttc-cmc.net>
<47C8419F.2060909@ttc-cmc.net>
On Fri, 29 Feb 2008, dmp wrote:
> Perhaps this is not the appropriate list, but is there a way to
> determine this information from the information_schema? The reason I ask
> is I can not seem to find this information there either. pg_dump does
> provide this information, though lacking the ability to proper identify
> multi-dimensional arrays, ex. char(30)[][] gives char(30)[].
Multi-dimensional array information is not stored. Every array type may
be any number of dimensions. The precision information is not available
in the information_schema, but it is available in the system catalog
tables. See pg_attribute.atttypmod, but it does require some decoding.
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.0802291248520.30295@leary.csoft.net>
References: <47C512CA.9010808@ttc-cmc.net> <47C8419F.2060909@ttc-cmc.net> <Pine.BSO.4.64.0802291248520.30295@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