On 2012-02-07, Dave Potts <dave(dot)potts(at)pinan(dot)co(dot)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