Re: Use of Port 5433 with Postgresql 9.6

Поиск
Список
Период
Сортировка
От Paul Jungwirth
Тема Re: Use of Port 5433 with Postgresql 9.6
Дата
Msg-id 80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com
обсуждение исходный текст
Ответ на Re: Use of Port 5433 with Postgresql 9.6  (Jeff Janes <jeff.janes@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Use of Port 5433 with Postgresql 9.6
Следующее
От: Igal Sapir
Дата:
Сообщение: Returning Values from INSERT ON CONFLICT DO NOTHING