Re: what is the equivalent of oracle's DESCRIBE table?

From: Ron Peterson <rpeterson(at)wallacefloyd(dot)com>
To: cmarkiew(at)commnav(dot)com
Cc: "'PostgreSQL General' (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: what is the equivalent of oracle's DESCRIBE table?
Date: 2000-09-15 14:42:30
Message-ID: 39C23556.7ADAB003@wallacefloyd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

chris markiewicz wrote:
>
> \dt <table name> only seems to list Owner, Relation, and Type.
>
> i am looking for something that returns the same info that is found in a
> CREATE TABLE statement...column names, data types, etc. i haven't seen
> anything like this in the documentation...

Check Chapter 37. Extending SQL: An Overview. This includes a section
on the PostgreSQL system catalogs. It's rather dense, but might get you
going. This subject comes up now and again, so I'm sure there's also
some info in the list archives.

This section also says "The Reference Manual gives a more detailed
explanation of these catalogs and their attributes." Where can one find
this Reference Manual?

--

Ron Peterson
Systems Manager
Wallace Floyd Design Group
273 Summer Street
Boston, MA 02210
617.350.7400 tel
617.350.0051 fax
rpeterson(at)wallacefloyd(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Wade D. Oberpriller 2000-09-15 15:16:11 are my questions being received?
Previous Message Tom Lane 2000-09-15 14:31:05 Re: Corrupt Table