Re: finding out about databases and tables

From: Lloyd Vancil <lev(at)apple(dot)com>
To: Ken Gerdes <Ken(dot)Gerdes(at)lottery(dot)state(dot)tx(dot)us>, Pgsql-novice(at)postgresql(dot)org
Subject: Re: finding out about databases and tables
Date: 2002-04-03 20:41:03
Message-ID: a05101033b8d118f0e251@[17.207.13.64]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

At 2:10 PM -0600 4/3/02, Ken Gerdes wrote:
>Hi,
>
>I am relatively new to Postgresql. I have Postgresql running on a
>Linux server, and I need to find out the names of all databases, and
>all tables within those databases, so I can start querying for data,
>and spool those results to a file for export. Can someone please
>tell me what commands I should run as a root user to find out this
>information, and query the databases for spooling to a file?
>
>Thanks,
>
>Ken
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html

if you have not deleted the test db

psql test
will get you a prompt
\? will get help on the \ commands
\h will get a list of help topics
\h topic will get a syntax for that command.

L>

--
searchmaster(at)apple(dot)com
lev(at)apple(dot)com

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Doug Silver 2002-04-03 20:55:16 Re: novice question about NOTICE:...
Previous Message Lloyd Vancil 2002-04-03 20:36:47 novice question about NOTICE:...