Re: switching databases - Mailing list pgsql-novice

From Tom Lane
Subject Re: switching databases
Date
Msg-id 914.1038678584@sss.pgh.pa.us
Whole thread Raw
In response to switching databases  ("Adler, Stephen" <adler@bnl.gov>)
List pgsql-novice
"Adler, Stephen" <adler@bnl.gov> writes:
> 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.

\c data

            regards, tom lane

pgsql-novice by date:

Previous
From: "Adler, Stephen"
Date:
Subject: Re: enum
Next
From: Rod Kreisler
Date:
Subject: Re: enum