Re: Use of Port 5433 with Postgresql 9.6

From: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Use of Port 5433 with Postgresql 9.6
Date: 2018-01-01 18:54:45
Message-ID: 80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/01/2018 10:40 AM, Jeff Janes wrote:
> The Ubuntu packages use 5433 if you already have something (either a
> different packaged version, or an unpackaged system) running on 5432.

Also on Ubuntu lots of the Postgres utilities will obey an envvar like
`PGCLUSTER=9.5/main` to let you choose which version of
psql/pg_dump/etc. I don't know about pg_isready but it's worth a try.
Even if pg_isready doesn't follow that pattern, it is probably easy to
"teach" it. Here is how I did a similar thing for pg_config:

https://stackoverflow.com/questions/30143046/pg-config-shows-9-4-instead-of-9-3/43403193#43403193

Yours,

--
Paul ~{:-)
pj(at)illuminatedcomputing(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igal Sapir 2018-01-02 07:07:46 Returning Values from INSERT ON CONFLICT DO NOTHING
Previous Message Jeff Janes 2018-01-01 18:40:28 Re: Use of Port 5433 with Postgresql 9.6