Re: Database names and pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rickard <David(dot)Rickard(at)GTScompanies(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org, Judith Strawser <judiths(at)GTScompanies(dot)com>
Subject: Re: Database names and pg_dump
Date: 2003-08-26 21:44:19
Message-ID: 16984.1061934259@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

David Rickard <David(dot)Rickard(at)GTScompanies(dot)com> writes:
> Is there an equivalent file or utility that will provide the name of each
> database within a PostGreSQL cluster?

SELECT datname FROM pg_database;

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Ron Johnson 2003-08-26 21:47:01 Re: Database names and pg_dump
Previous Message David Rickard 2003-08-26 21:38:15 Database names and pg_dump