Re: Feature Request: pg_replication_master()

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Feature Request: pg_replication_master()
Date: 2012-12-19 07:59:57
Message-ID: CA+U5nMLgUHG_ZWWp75uGQC3nPOAaznja_jsk00dfy-gf1tSHRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19 December 2012 06:10, Magnus Hagander <magnus(at)hagander(dot)net> wrote:

> This sounds like my previous suggestion of returning the primary conninfo
> value, but with just ip. That one came with a pretty bad patch, and was
> later postponed until we folded recovery.conf into the main configuration
> file parsing. I'm not really sure what happened to that project? (the
> configuration file one)

It stalled because the patch author decided not to implement the
request to detect recovery.conf in data directory, which allows
backwards compatibility.

I proposed a solution to how to do that, so we can move forwards if
people have time.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2012-12-19 08:03:13 Re: proposal - assign result of query to psql variable
Previous Message Simon Riggs 2012-12-19 07:57:07 Re: Cascading replication: should we detect/prevent cycles?