Re: DESC - Mailing list pgsql-novice

From Rynell Wesson
Subject Re: DESC
Date
Msg-id Pine.LNX.4.21.0011211722200.18302-100000@isle-of-jura.cs.utexas.edu
Whole thread Raw
In response to DESC  (Mike Castle <dalgoda@ix.netcom.com>)
List pgsql-novice
Start a psql session on the db you want and type \d <table name> and this
will describe the table for you.  You should also type \? for more options
under psql.

Thanks.

Rynell Wesson

On Tue, 21 Nov 2000, Mike Castle wrote:

>
> Not just a pgsql novice, but an SQL novice in general.
>
> Is there an equivalent for the SQL command DESC for listing the columns
> and their various types?  (I've played around with Oracle's sqlplus stuff
> a very little bit and this is command existed there and from I've seen
> so far, should be an ANSI standard.)
>
> I looked through the email archives and didn't see anything.
>
> Oh, dear.  I just went to check again, and off of the User's Lounge, the
> General Information link (http://www.postgresql.org/gen-info.html) just
> gave me a 404 error.  Someone reorganizing?
>
> Anyway, I've pondered writing such a thing, and decided to look at how
> pg_dump figures things out and quickly decided to ask first.
>
> Thanks,
> mrc
> --
>        Mike Castle       Life is like a clock:  You can work constantly
>   dalgoda@ix.netcom.com  and be right all the time, or not work at all
> www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
>     We are all of us living in the shadow of Manhattan.  -- Watchmen
>


pgsql-novice by date:

Previous
From: jacques@aglaia.museatech.net
Date:
Subject: Re: createdb ok, but need more help
Next
From: Paul M Foster
Date:
Subject: Re: DESC