]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix CI failure introduced in commit 851f6649cc. REL_17_STABLE github/REL_17_STABLE
authorAmit Kapila <akapila@postgresql.org>
Thu, 29 Jan 2026 02:57:02 +0000 (02:57 +0000)
committerAmit Kapila <akapila@postgresql.org>
Thu, 29 Jan 2026 02:57:02 +0000 (02:57 +0000)
commit9649f1adfdee66a843cf97e0b292c489ba05e2ec
treef91c8cc102eee37874508d4644af7fa14da9f34b
parent3243c0177efb77511269d6037ee668abd2e81396
Fix CI failure introduced in commit 851f6649cc.

The test added in commit 851f6649cc uses a backup taken from a node
created by the previous test to perform standby related checks. On
Windows, however, the standby failed to start with the following error:
FATAL:  could not rename file "backup_label" to "backup_label.old": Permission denied

This occurred because some background sessions from the earlier test were
still active. These leftover processes continued accessing the parent
directory of the backup_label file, likely preventing the rename and
causing the failure. Ensuring that these sessions are cleanly terminated
resolves the issue in local testing.

Additionally, the has_restoring => 1 option has been removed, as it was
not required by the new test.

Reported-by: Robert Haas <robertmhaas@gmail.com>
Backpatch-through: 17
Discussion: https://postgr.es/m/CA+TgmobdVhO0ckZfsBZ0wqDO4qHVCwZZx8sf=EinafvUam-dsQ@mail.gmail.com
src/test/recovery/t/046_checkpoint_logical_slot.pl