pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: pgsql-jdbc@postgresql.org
Subject: Array Char/VarChar Size
Date: Wed, 27 Feb 2008 00:35:38 -0700
Message-ID: <47C512CA.9010808@ttc-cmc.net> (raw)

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.

danap.



view thread (5+ messages)  latest in thread

Message-ID: <47C512CA.9010808@ttc-cmc.net>
Permalink:  ../47C512CA.9010808@ttc-cmc.net/
Also on:    postgresql.org/message-id/47C512CA.9010808@ttc-cmc.net

 · 

reply

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: danap@ttc-cmc.net
  Subject: Re: Array Char/VarChar Size
  In-Reply-To: <47C512CA.9010808@ttc-cmc.net>
  References: <47C512CA.9010808@ttc-cmc.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