slight tweaks to documentation about runtime pruning - Mailing list pgsql-hackers

From Amit Langote
Subject slight tweaks to documentation about runtime pruning
Date
Msg-id 002dec69-9afb-b621-5630-235eceafe0bd@lab.ntt.co.jp
Whole thread Raw
Responses Re: slight tweaks to documentation about runtime pruning  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Re: slight tweaks to documentation about runtime pruning  (David Rowley <david.rowley@2ndquadrant.com>)
List 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

pgsql-hackers by date:

Previous
From: "Ideriha, Takeshi"
Date:
Subject: RE: Copy data to DSA area
Next
From: Amit Langote
Date:
Subject: Re: don't mark indexes invalid unnecessarily