pgsql: Fix misleading comment in nodeIndexonlyscan.c. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Fix misleading comment in nodeIndexonlyscan.c.
Date
Msg-id E1hgjNr-0007gb-IK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix misleading comment in nodeIndexonlyscan.c.

The stated reason for acquiring predicate locks on heap pages hasn't
existed since commit c01262a8, so fix the comment.  Perhaps in a later
release we'll also be able to change the code to use tuple locks.

Back-patch all the way.

Reviewed-by: Ashwin Agrawal
Discussion: https://postgr.es/m/CAEepm%3D2GK3FVdnt5V3d%2Bh9njWipCv_fNL%3DwjxyUhzsF%3D0PcbNg%40mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/69da8c1e69efd3a5b1b0f1d9bd8b7b79a696fbc8

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


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix misleading comment in nodeIndexonlyscan.c.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix misleading comment in nodeIndexonlyscan.c.