diff options
author | Amit Kapila <akapila@postgresql.org> | 2024-03-13 08:33:26 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2024-03-13 08:33:26 +0530 |
commit | 0b84f5c419a300dc1b1a70cf63b9907208e52643 (patch) | |
tree | 733ce2612c08fd7b600a732c8beca76fdb1866ff /src/backend/utils/adt/array_userfuncs.c | |
parent | 0265e5c120e0971a9c50a1e27ce4cb847c15a1bf (diff) | |
download | postgresql-0b84f5c419a300dc1b1a70cf63b9907208e52643.tar.gz postgresql-0b84f5c419a300dc1b1a70cf63b9907208e52643.zip |
Fix a random failure in 038_save_logical_slots_shutdown.pl.
The test ensures that all the WAL on the publisher is sent to the
subscriber before shutdown by comparing the confirmed_flush_lsn of the
associated slot with the shutdown_checkpoint WAL location. But if the
shutdown_checkpoint location falls into a new page in the WAL then the
check won't work. So, ensure that the shutdown_checkpoint WAL record
doesn't fall into a new page.
Reported-by: Bharath Rupireddy
Author: Bharath Rupireddy
Reviewed-by: Vignesh C, Kuroda Hayato, Amit Kapila
Discussion: https://postgr.es/m/CALj2ACVLzH5CN-h9=S26mdRHPuJ9yDLUw70yh4JOiPw03WL0CQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions