Fix a few more redundant calls of GetLatestSnapshot()
authorHeikki Linnakangas <[email protected]>
Mon, 10 Mar 2025 16:54:58 +0000 (18:54 +0200)
committerHeikki Linnakangas <[email protected]>
Mon, 10 Mar 2025 17:02:08 +0000 (19:02 +0200)
commit6c1e79589ae837aac6135b3ff0d007fff2157be0
tree3f581dd82376e6ebbcd77d73292ce0bae20982fc
parent9b3914f181658d7c7d4bad4d69a5152fcf3eb9e8
Fix a few more redundant calls of GetLatestSnapshot()

Commit 2367503177 fixed this in RelationFindReplTupleByIndex(), but I
missed two other similar cases.

Per report from Ranier Vilela.

Discussion: https://www.postgresql.org/message-id/CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com
Backpatch-through: 13
src/backend/executor/execReplication.c