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:02 +0000 (19:02 +0200)
commit136e68b465c151fa832d8bb20beea1a1a9c22252
tree7bd8efe15cc2184b27b962aadccc0da096174341
parent2ef048855fdc770302a2c5897c6bbeef8af4ad62
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