Getting back names of databases - Mailing list pgsql-general

From G. Anthony Reina
Subject Getting back names of databases
Date
Msg-id 392976F6.6C5492A2@nsi.edu
Whole thread Raw
List pgsql-general
I know that I've seen this somewhere in past messages, but I can't seem
to find how to search the archives. Is the search engine offline?

Anyway, I'm trying to write a shell script which will backup my
databases to DAT tape. I'd like to know how I could get the list of
existing database names from Postgres. For example, I have 3 databases
named db01, db02, db03. How can I ask Postgres for these 3 names?

Thanks.
-Tony



pgsql-general by date:

Previous
From: Jurgen Defurne
Date:
Subject: Re: INSERT WITH SELECT help
Next
From: "Steve Wolfe"
Date:
Subject: Re: Getting back names of databases