Re: recovery.conf changes whitout restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Le jeu. 14 mars 2019 à 09:13, Amine Tengilimoglu <aminetengilimoglu@xxxxxxxxx> a écrit :
>>
>>   Hi all;
>>
>>       Is there any way that have effect  primary conn info changes whitout restart in pg?
>> I want to keep going after change the primary conn info in recovery.conf. But we need to restart it...Is there any way to do it?
>>
>
> No, you have to restart PostgreSQL.

One thing I do in production is to use a DNS CNAME to point to the
desired origin, so I can change the CNAME destination and just drop
the old connection, standby PostgreSQL will catchup in the new otigin
without restart. Create the replication slot beforehand in the new
origin is useful and, obviously, do not forget to drop it in the old
one.

Flavio Gurgel





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux