Re: Replication

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Replication
Дата
Msg-id d72df372-298a-6007-9b69-2ca5f3f0a312@hogranch.com
обсуждение исходный текст
Ответ на Replication  (Bertrand Paquet <bertrand.paquet@doctolib.fr>)
Ответы Re: Replication  (Vik Fearing <vik@2ndquadrant.fr>)
Список pgsql-general
On 6/2/2016 6:32 AM, Bertrand Paquet wrote:
> On an hot standby streaming server, is there any way to know, in SQL,
> to know the ip of current master ?
> The solution I have is to read the recovery.conf file to find
> primary_conninfo, but, it can be false.

"The IP" assumes there is only one...   hosts can be multihomed,
postgres can be listening on numerous interfaces, there is no 'the IP'

--
john r pierce, recycling bits in santa cruz



В списке pgsql-general по дате отправления:

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: Re: WAL's listing in pg_xlog by some sql query
Следующее
От: Steve Clark
Дата:
Сообщение: dumb question