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

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: (view raw, whole thread or download thread mbox)
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

pgsql-novice by date

Next:From: Ron JohnsonDate: 2003-08-26 21:47:01
Subject: Re: Database names and pg_dump
Previous:From: David RickardDate: 2003-08-26 21:38:15
Subject: Database names and pg_dump

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