pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix misleading comment in nodeIndexonlyscan.c.
Date: Fri, 28 Jun 2019 05:24:53 +0000
Message-ID: <E1hgjNV-0007fH-Qz@gemulon.postgresql.org> (raw)

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(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1hgjNV-0007fH-Qz@gemulon.postgresql.org>
Permalink:  ../E1hgjNV-0007fH-Qz@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hgjNV-0007fH-Qz@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Fix misleading comment in nodeIndexonlyscan.c.
  In-Reply-To: <E1hgjNV-0007fH-Qz@gemulon.postgresql.org>
  References: <E1hgjNV-0007fH-Qz@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox