Re: Feature Request: pg_replication_master() - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Feature Request: pg_replication_master()
Date
Msg-id 20121220221048.GA15871@awork2.anarazel.de
Whole thread Raw
In response to Feature Request: pg_replication_master()  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Feature Request: pg_replication_master()
List 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 by date:

Previous
From: Joshua Berkus
Date:
Subject: Re: Feature Request: pg_replication_master()
Next
From: Joshua Berkus
Date:
Subject: Re: Switching timeline over streaming replication