slight tweaks to documentation about runtime pruning

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: slight tweaks to documentation about runtime pruning
Date: 2018-12-05 07:23:49
Message-ID: 002dec69-9afb-b621-5630-235eceafe0bd@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Hi,

Documentation of run-time pruning tells readers to inspect "nloops"
property of the EXPLAIN ANALYZE output, but I think that's a typo of
"loops" which is actually output ("internal variable to track that
property is indeed nloops).

However, for pruned partitions' subplans, what's actually shown is the
string "(never executed)", not loops. So, wouldn't it be better to tell
the readers to look for that instead of "loops"?

Attached is what I have in mind.

(cc'ing David Rowley to get his opinion, as he presumably wrote that line.)

Thanks,
Amit

Attachment Content-Type Size
runtime-pruning-doc-tweak.patch text/plain 857 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-12-05 08:59:07 Re: don't mark indexes invalid unnecessarily
Previous Message Ideriha, Takeshi 2018-12-05 05:42:20 RE: Copy data to DSA area