]> granicus.if.org Git - postgresql/commit
Fix misleading comment in nodeIndexonlyscan.c.
authorThomas Munro <tmunro@postgresql.org>
Thu, 27 Jun 2019 23:11:26 +0000 (11:11 +1200)
committerThomas Munro <tmunro@postgresql.org>
Fri, 28 Jun 2019 05:15:39 +0000 (17:15 +1200)
commit6827e46cdf351678f71577efd4736f5d443b6e01
tree03c5bf6198e2b16e7da44d81f70e00c356bf4621
parent803cdf22a2d395653496702af789ccae7c17e18c
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
src/backend/executor/nodeIndexonlyscan.c