In the file you can point the alias to whatever db you want. To connect:
[bash]$ PGSERIVCE=dbname psql
Woody
IGLASS Networks
From:[email protected] [mailto:[email protected]] On Behalf Of Reece Hart Sent: Monday, November 06, 2006 6:07 PM To: pgsql-general Subject: [GENERAL] database name aliases?
I'd like to be able to have several versions of a database available concurrently and one database alias that refers to the most recent of these. For example: