switching databases - Mailing list pgsql-novice

From Adler, Stephen
Subject switching databases
Date
Msg-id 1038675931.11026.8.camel@newadler.phy.bnl.gov
Whole thread Raw
In response to Re: views and rules  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: switching databases
List pgsql-novice
Is there a way to switch databases within psql like there is
in mysql using the 'use' command?

I have two databases, one named test, the other name data, if
I do 'psql test' I'm connected to the test database, to connect
to the data database, I have to quite psql then run the command
'psql data'. It would be nice not to have to quit out of psql.

Thanks. Steve.


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: views and rules
Next
From: Ewald Geschwinde
Date:
Subject: Re: switching databases