Skip site navigation (1) Skip section navigation (2)

Re: How do I see all databases and tables??

From: Ryan Ho <ryanho(at)pacific(dot)net(dot)sg>
To: Lukas Ertl <l(dot)ertl(at)univie(dot)ac(dot)at>, "Williams, Travis L, NPONS" <tlw(at)att(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: How do I see all databases and tables??
Date: 2001-06-11 04:18:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
in psql

\d to list all tables
\l to list all database

for complete reference to psql commands


At 12:33 AM 6/10/01 +0200, Lukas Ertl wrote:
>On Sat, 9 Jun 2001, Williams, Travis L, NPONS wrote:
> > How do I see a list of all my databases.. and a list of all my tables...
>This is with the so-called back-slash commands. Type "\?" in psql to get a
>list of available commands.
>Lukas Ertl                          eMail: l(dot)ertl(at)univie(dot)ac(dot)at
>WWW-Redaktion                       Tel.:  (+43 1) 4277-14073
>Zentraler Informatikdienst (ZID)    Fax.:  (+43 1) 4277-9140
>der Universit├Ąt Wien
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

pgsql-novice by date

Next:From: Rob Brown-BaylissDate: 2001-06-11 05:38:08
Subject: Rules Questions
Previous:From: Eric Naujock Date: 2001-06-10 23:25:15
Subject: Re: foreign keys

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group