Re: [GENERAL] default database selector

2012-02-13 Thread Jasen Betts
On 2012-02-07, Dave Potts wrote: > > > I am running Ubuntu 11.04, I have Postgres 8.4 and 9.1 installed. > > My default when I say psql it connects to postgres 8.4 > > ie I set export PGCLUSTER=9.1/main > > it connects to 9.1 > > Q. How can I connect to 9.1 by default without having to set PGCLUS

Re: [GENERAL] default database selector

2012-02-07 Thread Adrian Klaver
On Monday, February 06, 2012 10:31:51 pm Dave Potts wrote: > I am running Ubuntu 11.04, I have Postgres 8.4 and 9.1 installed. > > My default when I say psql it connects to postgres 8.4 > > ie I set export PGCLUSTER=9.1/main > > it connects to 9.1 > > Q. How can I connect to 9.1 by default wit

[GENERAL] default database selector

2012-02-06 Thread Dave Potts
I am running Ubuntu 11.04, I have Postgres 8.4 and 9.1 installed. My default when I say psql it connects to postgres 8.4 ie I set export PGCLUSTER=9.1/main it connects to 9.1 Q. How can I connect to 9.1 by default without having to set PGCLUSTER? I looked in /etc/postgresql-common, there di