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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix a few more redundant calls of GetLatestSnapshot()
Date: 2025-03-10 17:44:48
Message-ID: E1trhBI-001nQh-03@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/136e68b465c151fa832d8bb20beea1a1a9c22252

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-03-10 21:49:52 pgsql: CREATE INDEX: do update index stats if autovacuum=off.
Previous Message Heikki Linnakangas 2025-03-10 17:44:47 pgsql: Fix a few more redundant calls of GetLatestSnapshot()