Re: How to find the primary server of a hot standby server?

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: How to find the primary server of a hot standby server?
Дата
Msg-id 4CB786B7.7080700@lelarge.info
обсуждение исходный текст
Ответ на How to find the primary server of a hot standby server?  (Rudolf van der Leeden <vanderleeden@logicunited.com>)
Ответы Re: How to find the primary server of a hot standby server?  (Shoaib Mir <shoaibmir@gmail.com>)
Список pgsql-admin
Le 14/10/2010 23:18, Rudolf van der Leeden a écrit :
> [...]
> quick question to the PG 9 community.
>
> I can query a hot standby server if recovery is still active using
> the administration function pg_is_in_recovery(). Is there also a way
> to query for the 'primary server', i.e. which server is delivering
> the WAL records?
>
> I'd like to monitor a bunch of standby servers in terms of
> configuration and operation.
>

There's no "SQL" way to know this, AFAICT. But I would love to be proven
wrong: I would be able to add this info to pgAdmin, which would be great.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

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

Предыдущее
От: Rudolf van der Leeden
Дата:
Сообщение: How to find the primary server of a hot standby server?
Следующее
От: Shoaib Mir
Дата:
Сообщение: Re: How to find the primary server of a hot standby server?