aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/pathnode.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2024-02-14 16:16:08 +0530
committerAmit Kapila <akapila@postgresql.org>2024-02-14 16:16:08 +0530
commitbd8fc1677b88ed80e4e00e0e46401ec537952482 (patch)
tree48ff60ffdf2f99b1488b0273ba2c104316084c42 /src/backend/optimizer/util/pathnode.c
parentb8f9e7772595bf8527ded33884d5ed9f16e0653d (diff)
downloadpostgresql-bd8fc1677b88ed80e4e00e0e46401ec537952482.tar.gz
postgresql-bd8fc1677b88ed80e4e00e0e46401ec537952482.zip
Fix BF introduced in commit ddd5f4f54a.
The failure is that the remote slot is not synchronized after the same slot on standby gets invalidated. The reason was that remote_slot's restart_lsn was lagged behind the standby's oldest WAL segment. The test didn't ensure that remote_slot's LSN was advanced to the latest position before we tried to sync the slots via new the function pg_sync_replication_slots(). Discussion: https://postgr.es/m/CAA4eK1JLBi3HzenB6do3_hd78kN0UDD1mz-vumWE52XHHEq5Bw@mail.gmail.com
Diffstat (limited to 'src/backend/optimizer/util/pathnode.c')
0 files changed, 0 insertions, 0 deletions