Re: Use of Port 5433 with Postgresql 9.6 - Mailing list pgsql-general

From Paul Jungwirth
Subject Re: Use of Port 5433 with Postgresql 9.6
Date
Msg-id 80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com
Whole thread Raw
In response to Re: Use of Port 5433 with Postgresql 9.6  (Jeff Janes <jeff.janes@gmail.com>)
List 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@illuminatedcomputing.com


pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Use of Port 5433 with Postgresql 9.6
Next
From: Igal Sapir
Date:
Subject: Returning Values from INSERT ON CONFLICT DO NOTHING