From: Terry Hampton <thampton@limacorp.com>
To: pgsql-admin@postgresql.org
Subject: Quick System Catalog Query Question
Date: Mon, 29 Mar 2004 16:51:30 -0500
Message-ID: <40689A62.5080507@limacorp.com> (raw)
All,
select attname, atttypmod, atttypid from pg_attribute where
attrelid=3701787 and attnum > 0;
returns:
attname | atttypmod | atttypid
-------------+-----------+----------
acct_name | 132 | 1043
grp | 54 | 1043
name | 260 | 1043
id | 54 | 1043
proc_by | 54 | 1043
fldnames | -1 | 25
flddata | -1 | 25
I can't determine what SQL to which system catalog will associate
"1043" to "varchar" and "25" to "text"
many thanks for you help
7.3.2 on Linux
Terry
Terry L. Hampton
Project Manager
LimaCorp, LLC www.limacorp.com
513.587.1874
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-admin@postgresql.org
Cc: thampton@limacorp.com
Subject: Re: Quick System Catalog Query Question
In-Reply-To: <40689A62.5080507@limacorp.com>
References: <40689A62.5080507@limacorp.com>
* 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