Re: newbie question - Mailing list pgsql-general

From Dr. Evil
Subject Re: newbie question
Date
Msg-id 20011105004345.6916.qmail@sidereal.kz
Whole thread Raw
In response to newbie question  ("Said Badrul Nahar" <saidbn@yahoo.com>)
Responses Re: newbie question
Re: newbie question
List pgsql-general
> I'm new with postgresql. How can i show table name and db name in
> postgresql like SHOW TABLE and SHOW DATABASE in MySQL.

The equivalent of SHOW TABLE foo; in pg would be:

\d foo

Note that there is no ; at the end of that command.

I'm not sure what's equivalent to SHOW DATABASE.

pgsql-general by date:

Previous
From: "Command Prompt, Inc."
Date:
Subject: Re: Table definitions using CHECK and DEFAULT
Next
From: Tom Lane
Date:
Subject: Re: Got error on CREATE TABLE AS (+Bug?)