From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Mark Stosberg <mark@summersault.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Porting MySQL's DESCRIBE and ENUM features
Date: Sat, 13 Nov 1999 14:41:12 -0500
Message-ID: <1496.942522072@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.02A.9911131755250.606-100000@Val.DoCS.UU.SE>
Peter Eisentraut <e99re41@DoCS.UU.SE> writes:
> I would myself be interested to see how the check constraints are stored,
> so I can put this into the psql \d command.
You want the rcsrc column of pg_relcheck. See getTables() in pg_dump.c
for an example of retrieving constraint conditions.
IIRC, specialized constraints such as NOT NULL are recorded someplace
else, but you probably know about those already.
regards, tom lane
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: tgl@sss.pgh.pa.us, peter_e@gmx.net, mark@summersault.com
Subject: Re: [SQL] Porting MySQL's DESCRIBE and ENUM features
In-Reply-To: <1496.942522072@sss.pgh.pa.us>
References: <Pine.GSO.4.02A.9911131755250.606-100000@Val.DoCS.UU.SE> <1496.942522072@sss.pgh.pa.us>
* 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