pgsql: Improve comment for tricky aspect of index-only scans.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve comment for tricky aspect of index-only scans.
Date: 2014-05-07 02:27:59
Message-ID: E1WhraR-0001bH-5U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve comment for tricky aspect of index-only scans.

Index-only scans avoid taking a lock on the VM buffer, which would
cause a lot of contention. To be correct, that requires some intricate
assumptions that weren't completely documented in the previous
comment.

Reviewed by Robert Haas.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/35c0cd3b05b0be18dc2d049c33b38a2d13993ffe

Modified Files
--------------
src/backend/executor/nodeIndexonlyscan.c | 34 ++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-07 02:49:46 pgsql: hash_any returns Datum, not uint32 (and definitely not "int").
Previous Message Peter Eisentraut 2014-05-07 02:11:22 pgsql: doc: Fix DocBook XML validity