Re: Can I just reload the slave to change primary_conninfo?

From: Chris Travers <chris(dot)travers(at)adjust(dot)com>
To: michael(at)paquier(dot)xyz
Cc: sk(at)zsrv(dot)org, luajit(dot)io(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Can I just reload the slave to change primary_conninfo?
Date: 2018-09-10 14:53:24
Message-ID: CAN-RpxDnDujaOFLZx_c_P4J-7135MiWg9s1TeLkrzPCjGUD-3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 10, 2018 at 1:36 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:

> On Mon, Sep 10, 2018 at 12:08:07PM +0300, Sergei Kornilov wrote:
> >> This parameter is defined in postgresql.conf
> > Huh, i believe it be in future.
> > Currently it is recovery.conf parameter, and yes - it can be set (or
> > changed) only at database start.
>
> Thanks Sergei for the correction. Indeed you need to read that as
> recovery.conf, not postgresql.conf.
>

Is there any reason this cannot be changed via a signal? Is it a general
lack of infrastructure or is it there significant problem we want to ensure
never happens?

> --
> Michael
>

--
Best Regards,
Chris Travers
Head of Database

Tel: +49 162 9037 210 | Skype: einhverfr | www.adjust.com
Saarbrücker Straße 37a, 10405 Berlin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergei Kornilov 2018-09-10 15:12:52 Re: Can I just reload the slave to change primary_conninfo?
Previous Message Laurenz Albe 2018-09-10 14:46:40 Re: Loaded footgun open_datasync on Windows