Fix a few more redundant calls of GetLatestSnapshot()
authorHeikki Linnakangas
Mon, 10 Mar 2025 16:54:58 +0000 (18:54 +0200)
committerHeikki Linnakangas
Mon, 10 Mar 2025 16:58:10 +0000 (18:58 +0200)
commitf7c566a1a276c5f228891c7599df1c0b8878eb35
tree025cb4104d89cc0d98afc8eb7014c88d009d08d8
parent23675031774c1644c32ff052a1c3e9fb87261023
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