]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix warning in TAP test of pg_verifybackup
authorMichael Paquier <michael@paquier.xyz>
Wed, 6 Oct 2021 04:28:30 +0000 (13:28 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 6 Oct 2021 04:28:30 +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 0a4fc3c212598ccb1915927833f2ca0bfeab686c..baabab3c7927a22cd9fe33bd7152e20d6fc3176a 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()');