Talk About Network

Google





Data Bases > Pgsql Interfaces Jdbc > Re: Array Char/...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 1895 of 2101
Post > Topic >>

Re: Array Char/VarChar Size

by danap@[EMAIL PROTECTED] (dmp) Feb 29, 2008 at 10:32 AM

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)[].

danap.


> 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



> 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. 


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
 




 6 Posts in Topic:
Array Char/VarChar Size
danap@[EMAIL PROTECTED]   2008-02-27 00:35:38 
Re: Array Char/VarChar Size
books@[EMAIL PROTECTED]   2008-02-29 11:59:17 
Re: Array Char/VarChar Size
danap@[EMAIL PROTECTED]   2008-02-29 10:32:15 
Re: Array Char/VarChar Size
books@[EMAIL PROTECTED]   2008-02-29 12:53:57 
Re: Array Char/VarChar Size
tgl@[EMAIL PROTECTED] (T  2008-02-29 13:44:27 
Re: Array Char/VarChar Size
danap@[EMAIL PROTECTED]   2008-03-01 15:10:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 20:14:00 PST 2009.