diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-04-18 13:41:40 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-04-18 13:41:40 +0900 |
commit | 1a8b110539efe18803c1fa8aa452a2178dbad9a9 (patch) | |
tree | aad5e0722e4a1d35ec0c0864fe5534ca0a09c213 /src/backend/parser/parse_utilcmd.c | |
parent | 676eeb6dd1655f7a3ee783b7ca0d645580630acc (diff) | |
download | postgresql-1a8b110539efe18803c1fa8aa452a2178dbad9a9.tar.gz postgresql-1a8b110539efe18803c1fa8aa452a2178dbad9a9.zip |
Fix second race condition in 002_archiving.pl with archive_cleanup_command
Checking the execution of archive_cleanup_command on a standby requires
a valid checkpoint coming from its primary, but the logic did not check
that the standby replayed up to the point of the checkpoint, causing the
test checking for the execution of archive_cleanup_command to fail.
This race was more visible in slow environments.
Issue introduced in 46dea24, so no backpatch is needed.
Author: Tom Lane
Discussion: https://postgr.es/m/4015413.1649454951@sss.pgh.pa.us
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions