Mark Kirkwood <markir@coretech.co.nz> writes:
> Tom Lane wrote:
>> Hmmm ... it strikes me that someone wanting this level of detail
>> would be better advised to look into the source code.
> I did wonder about about it being better placed in 'internals'
> somewhere, but it seemed to follow on from the 'explain' and 'stats'
> sections quite well.
The internals section would be a good compromise. ISTM that in the
context of the "performance tips" chapter, all that people really want
to know is that the planner uses the pg_statistic entries to estimate
numbers of matching rows --- just how it goes about it is irrelevant
detail at that point.
regards, tom lane