pgsql: Fix misleading comment in nodeIndexonlyscan.c.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix misleading comment in nodeIndexonlyscan.c.
Date: 2019-06-28 05:24:53
Message-ID: E1hgjNV-0007fH-Qz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6827e46cdf351678f71577efd4736f5d443b6e01

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-06-28 05:25:15 pgsql: Fix misleading comment in nodeIndexonlyscan.c.
Previous Message Thomas Munro 2019-06-28 05:24:35 pgsql: Fix misleading comment in nodeIndexonlyscan.c.