Thread: pgsql: Fix a few more redundant calls of GetLatestSnapshot()

pgsql: Fix a few more redundant calls of GetLatestSnapshot()

From
Heikki Linnakangas
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7c566a1a276c5f228891c7599df1c0b8878eb35

Modified Files
--------------
src/backend/executor/execReplication.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)