Fix misleading comment in nodeIndexonlyscan.c.

Thomas Munro <tmunro@postgresql.org>

Commit: 74b7cc8c02137f059703972aa14445b1e073f005
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2019-06-28T05:13:08Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/executor/nodeIndexonlyscan.c modified +2 −5

Discussion