how can I get the length of columns of a table by system tables/views - Mailing list pgsql-admin

From shuaixf
Subject how can I get the length of columns of a table by system tables/views
Date
Msg-id 1315408840339-4778911.post@n5.nabble.com
Whole thread Raw
Responses Re: how can I get the length of columns of a table by system tables/views  (Raghavendra <raghavendra.rao@enterprisedb.com>)
Re: how can I get the length of columns of a table by system tables/views  (shuaixf <shuaixf@gmail.com>)
List pgsql-admin
For example:
CREATE TABLE tb(name varchar(32));

According to pg_class, pg_attribute, pg_type, I can get the tablename,
column name, column type
however, how to get the length of columns of a table by system tables/views?
Thanks!

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/how-can-I-get-the-length-of-columns-of-a-table-by-system-tables-views-tp4778911p4778911.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade from 9.0 to 9.1
Next
From: Raghavendra
Date:
Subject: Re: how can I get the length of columns of a table by system tables/views