Re: Describe structure. - Mailing list pgsql-general

From Poul L. Christiansen
Subject Re: Describe structure.
Date
Msg-id 397D5301.B8B97050@faroenet.fo
Whole thread Raw
In response to Describe structure.  ("anuj" <Anuj@in-control.de>)
List pgsql-general
pg=>\d tblpg will describe the structure.

pg=>\? will give a list of commands, including how to use \d

anuj wrote:

> Hi,
> 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    |
>  +------------------+----------------------------------+----------+
>
> pg=> describe tblpg;
> ERROR:  parser: parse error at or near "describe"


pgsql-general by date:

Previous
From: DE VOLDER Fabrice
Date:
Subject: RE: Describe structure.
Next
From:
Date:
Subject: Re: ROLLBACK automatically