Re: Feature Request: pg_replication_master()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Feature Request: pg_replication_master()
Дата
Msg-id 20121220221048.GA15871@awork2.anarazel.de
обсуждение исходный текст
Ответ на Feature Request: pg_replication_master()  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Feature Request: pg_replication_master()  (Joshua Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On 2012-12-18 19:43:09 -0800, Josh Berkus wrote:
> We should probably have a function, like pg_replication_master(), which
> gives the host address of the current master.  This would help DBAs for
> large replication clusters a lot.  Obviously, this would only work in
> streaming.

Do you want the node one step up or the top-level in the chain? Because
I don't think we can do the latter without complicating the replication
protocol noticably.

Greetings,

Andres Freund

--Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Joshua Berkus
Дата:
Сообщение: Re: Feature Request: pg_replication_master()
Следующее
От: Joshua Berkus
Дата:
Сообщение: Re: Switching timeline over streaming replication