Re: Can I just reload the slave to change primary_conninfo? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Can I just reload the slave to change primary_conninfo?
Date
Msg-id 20180911031409.GC27115@paquier.xyz
Whole thread Raw
In response to Re: Can I just reload the slave to change primary_conninfo?  (Sergei Kornilov <sk@zsrv.org>)
List pgsql-hackers
On Mon, Sep 10, 2018 at 06:12:52PM +0300, Sergei Kornilov wrote:
> There were already some discussions about move recovery.conf into GUC
> infrastructure first. I continue work on one most recent patch here:
> https://commitfest.postgresql.org/19/1711/ If this patch will be
> committed - i plan sent new patch to allow change primary_conninfo
> with SIGHUP.

Nice to hear that!  Please make sure that in the first flavor of the
patch all the recovery parameters are switched to GUC_POSTMASTER so as
they map with the existing behavior.  We should move a subset of those
parameters to SIGHUP after a careful lookup, and as a secondary step.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: CREATE ROUTINE MAPPING
Next
From: David Rowley
Date:
Subject: Re: [HACKERS] Secondary index access optimizations