Fix a few more redundant calls of GetLatestSnapshot()
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Mar 2025 16:54:58 +0000 (18:54 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Mar 2025 17:01:58 +0000 (19:01 +0200)
commitd765226cb9d2e1f4a1efcf45f8e729aafc0e0ddf
tree42e08e2250c0de4fac0d19749f6d5d7088da4dd8
parent50c5899922c3e5ee6c4df3cb3825255d09928edc
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