Re: Describe structure. - Mailing list pgsql-general

From
Subject Re: Describe structure.
Date
Msg-id Pine.LNX.4.10.10007250959510.9042-100000@chapelperilous.net
Whole thread Raw
In response to Describe structure.  ("anuj" <Anuj@in-control.de>)
List pgsql-general
On Tue, 25 Jul 2000, anuj wrote:

> My table name is tblpg.
> I want to see the table structure.
> Like oracle have Describe <table name>.
> What PG have ? or any command.
> Thank in advance.
> Anuj
>
> pg=> \d
> Database    = pg
>  +------------------+----------------------------------+----------+
>  |  Owner           |             Relation             |   Type   |
>  +------------------+----------------------------------+----------+
>  | postgres         | tblpg                            | table    |
>  +------------------+----------------------------------+----------+

It's all in the online help.  The command you want is \d <table>.

Brett W. McCoy
                                         http://www.chapelperilous.net/~bmccoy/
-------------------------------------------------------------------------------
Yow!  Is my fallout shelter termite proof?


pgsql-general by date:

Previous
From: Gilles DAROLD
Date:
Subject: Re: nested transactions
Next
From: Guillaume Perréal
Date:
Subject: Re: Statistical Analysis