allow online change primary_conninfo

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: allow online change primary_conninfo
Date: 2018-11-25 21:25:43
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello all
Now we integrate recovery.conf into GUC system. So i would like to start discussion to make primary_conninfo and primary_slot_name PGC_SIGHUP.
My work-in-progress patch attached.

I think we have no futher reason to have a copy of conninfo and slot name in WalRcvData, so i propose remove these fields from pg_stat_get_wal_receiver() (and pg_stat_wal_receiver view). This data can be accesible now via regular GUC commands.

Thank you for advance!

regards, Sergei

Attachment Content-Type Size
reload_walreceiver_conninfo_v001.patch text/x-diff 17.4 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-11-25 21:43:13 Re: allow online change primary_conninfo
Previous Message Thomas Munro 2018-11-25 21:06:36 Re: [HACKERS] advanced partition matching algorithm for partition-wise join