| From: | <bmccoy(at)chapelperilous(dot)net> |
|---|---|
| To: | anuj <Anuj(at)in-control(dot)de> |
| Cc: | pgsql-general(at)hub(dot)org |
| Subject: | Re: Describe structure. |
| Date: | 2000-07-25 14:06:10 |
| Message-ID: | Pine.LNX.4.10.10007250959510.9042-100000@chapelperilous.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Guillaume Perréal | 2000-07-25 14:06:45 | Re: Statistical Analysis |
| Previous Message | Gilles DAROLD | 2000-07-25 13:28:39 | Re: nested transactions |