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:51 +0000 (19:01 +0200)
commit324e0b656b4bc90bf64559cd9610542613211f20
treedc2edfc51d0fb6c2d8a92f637b4ce24b1d7c5cd0
parent8171d2dae93d8463f2cbba0ce18e3f5c85cac096
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