Fix warning in TAP test of pg_verifybackup
authorMichael Paquier <[email protected]>
Wed, 6 Oct 2021 04:28:23 +0000 (13:28 +0900)
committerMichael Paquier <[email protected]>
Wed, 6 Oct 2021 04:28:23 +0000 (13:28 +0900)
Oversight in a3fcbcd.

Reported-by: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGKnajZEwe91OTjro9kQLCMGGFHh2vvFn8tgHgbyn4bF9w@mail.gmail.com
Backpatch-through: 13

src/bin/pg_verifybackup/t/007_wal.pl

index 29b8a070d74b03d3a84e9285b4ea17db9c566aef..dc85b2a7745762d387db7b440ab3f8bb45f47af8 100644 (file)
@@ -64,7 +64,7 @@ command_fails_like(
 # a timeline > 1.  Rather than plugging in a new standby, do a
 # self-promotion of this node.
 $primary->stop;
-$primary->append_conf('standby.signal');
+$primary->append_conf('standby.signal', '');
 $primary->start;
 $primary->promote;
 $primary->safe_psql('postgres', 'SELECT pg_switch_wal()');