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

From: Heikki Linnakangas <[email-masked]>
Date: Mon, 10 Mar 2025 17:44:48 +0000

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/[email-masked]
Backpatch-through: 13

Branch
------
REL_15_STABLE

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

Modified Files
--------------
src/backend/executor/execReplication.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)