From: omid omoomi <oomoomi@hotmail.com>
To: bcdoyle@mindspring.com
To: pgsql-sql@postgresql.org
Subject: Re: Table Attribute Help
Date: Mon, 09 Oct 2000 15:47:02 GMT
Message-ID: <LAW-F388aZRhQdOgl4r0000971f@hotmail.com> (raw)
Hi,
>From: "Brian C. Doyle" <bcdoyle@mindspring.com>
>To: pgsql-sql@postgresql.org
>Subject: [SQL] Table Attribute Help
>Date: Mon, 09 Oct 2000 11:21:21 -0400
>
>Hello all,
>
>I am trying to find a query to retrive the attributes of a table as in \d
>tablename but as a select command. Is this possible?
>
>
yes. try to run psql with -E and look at the related system tables when
running \d command like (pg_class, pg_user, ...)
regards
Omid Omoomi
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
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-sql@postgresql.org
Cc: oomoomi@hotmail.com, bcdoyle@mindspring.com
Subject: Re: Table Attribute Help
In-Reply-To: <LAW-F388aZRhQdOgl4r0000971f@hotmail.com>
References: <LAW-F388aZRhQdOgl4r0000971f@hotmail.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