Oversight in
a3fcbcd.
Reported-by: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGKnajZEwe91OTjro9kQLCMGGFHh2vvFn8tgHgbyn4bF9w@mail.gmail.com
Backpatch-through: 13
# a timeline > 1. Rather than plugging in a new standby, do a
# self-promotion of this node.
$master->stop;
-$master->append_conf('standby.signal');
+$master->append_conf('standby.signal', '');
$master->start;
$master->promote;
$master->safe_psql('postgres', 'SELECT pg_switch_wal()');