Re: [GENERAL] A simple SQL command - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: [GENERAL] A simple SQL command
Date
Msg-id Pine.GSO.4.02A.9910281219210.567-100000@Puma.DoCS.UU.SE
Whole thread Raw
In response to A simple SQL command  (Edouard DESSIOUX <edx@intrinsec.com>)
List pgsql-general
On Wed, 27 Oct 1999, Edouard DESSIOUX wrote:

> How could i know the name of all the table in my database
> and, if possible, their prototype.
> I would like a SQL command if possible

From within psql, enter \dt.
It's not an SQL command though.

To look at the "prototype", as you say, enter \d tablename.

--
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-general by date:

Previous
From: ednut
Date:
Subject: Re: Linux/Postgres 6.5 problems using jdbc w/jdk1.2
Next
From: "omid omoomi"
Date:
Subject: Re: [GENERAL] A simple SQL command