mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
Fix newly introduced 010_keep_recycled_wals.pl
It failed to set the archive_command as it desired because of a syntax problem. Oversight in commit 90bcc7c2db1d. This bug doesn't cause the test to fail, because the test only checks pg_rewind's output messages, not the actual outcome (and the outcome in both cases is that the file is kept, not deleted). But in either case the message about the file being kept is there, so it's hard to get excited about doing much more. Reported-by: Antonin Houska <ah@cybertec.at> Author: Alexander Kukushkin <cyberdemn@gmail.com> Discussion: https://postgr.es/m/7822.1732167825@antos
This commit is contained in:
parent
aca1599d69
commit
50010c6f6c
@ -23,9 +23,9 @@ $node_standby->reload();
|
|||||||
|
|
||||||
RewindTest::primary_psql("CHECKPOINT"); # last common checkpoint
|
RewindTest::primary_psql("CHECKPOINT"); # last common checkpoint
|
||||||
|
|
||||||
# We use "perl -e 'exit(1)'" as an alternative to "false", because the latter
|
# We use `perl -e "exit(1)"` as an alternative to "false", because the latter
|
||||||
# might not be available on Windows.
|
# might not be available on Windows.
|
||||||
my $false = "$^X -e 'exit(1)'";
|
my $false = "$^X -e \"exit(1)\"";
|
||||||
$node_primary->append_conf(
|
$node_primary->append_conf(
|
||||||
'postgresql.conf', qq(
|
'postgresql.conf', qq(
|
||||||
archive_command = '$false'
|
archive_command = '$false'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user