pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Jungwirth <pj@illuminatedcomputing.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Use of Port 5433 with Postgresql 9.6
Date: Mon, 1 Jan 2018 10:54:45 -0800
Message-ID: <80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com> (raw)
In-Reply-To: <CAMkU=1yTY7wk4xGNVrjgAKEGUYx1tTur6npn=jJu4=SuyYCaRA@mail.gmail.com>
References: <cbeaa25a-8d19-f264-f09f-e8c490b1dd50@gemmill.name>
	<CAMkU=1yTY7wk4xGNVrjgAKEGUYx1tTur6npn=jJu4=SuyYCaRA@mail.gmail.com>

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




view thread (6+ messages)  latest in thread

Message-ID: <80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com>
Permalink:  ../80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com/
Also on:    postgresql.org/message-id/80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pj@illuminatedcomputing.com
  Subject: Re: Use of Port 5433 with Postgresql 9.6
  In-Reply-To: <80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com>
  References: <cbeaa25a-8d19-f264-f09f-e8c490b1dd50@gemmill.name> <CAMkU=1yTY7wk4xGNVrjgAKEGUYx1tTur6npn=jJu4=SuyYCaRA@mail.gmail.com> <80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox