Re: default database selector - Mailing list pgsql-general

From Jasen Betts
Subject Re: default database selector
Date
Msg-id jh58b1$lrh$2@reversiblemaps.ath.cx
Whole thread Raw
In response to default database selector  ("Dave Potts" <dave.potts@pinan.co.uk>)
List pgsql-general
On 2012-02-07, Dave Potts <dave.potts@pinan.co.uk> 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 PGCLUSTER?
>
> I looked in /etc/postgresql-common, there did not seem to be anything
> obivious in there for which version to use.

man 7 postgresql-common

--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: " " around fields with psql
Next
From: Jasen Betts
Date:
Subject: Re: last entry per person