pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ke wang <kw68@cornell.edu>
To: pgsql-sql@postgresql.org
Subject: How to see the definition of an existing table?
Date: Fri, 14 Sep 2001 20:35:11 -0400
Message-ID: <5.1.0.14.2.20010914203358.00baabf8@postoffice.mail.cornell.edu> (raw)

Is there any command or query to see the definition of an existing table,
like which is the primary key, which is not null etc.

Thanks!

--Ke




view thread (3+ messages)  latest in thread

Message-ID: <5.1.0.14.2.20010914203358.00baabf8@postoffice.mail.cornell.edu>
Permalink:  ../5.1.0.14.2.20010914203358.00baabf8@postoffice.mail.cornell.edu/
Also on:    postgresql.org/message-id/5.1.0.14.2.20010914203358.00baabf8@postoffice.mail.cornell.edu

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: kw68@cornell.edu
  Subject: Re: How to see the definition of an existing table?
  In-Reply-To: <5.1.0.14.2.20010914203358.00baabf8@postoffice.mail.cornell.edu>

* 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