incorrect information in documentation

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: ivanmulhin(at)gmail(dot)com
Subject: incorrect information in documentation
Date: 2021-08-09 12:53:00
Message-ID: 162851358008.709.11763395628268716122@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/row-estimation-examples.html
Description:

Hello, on page
https://www.postgresql.org/docs/current/row-estimation-examples.html - there
is a example:
selectivity = (1 - null_frac1) * (1 - null_frac2) * min(1/num_distinct1,
1/num_distinct2)
= (1 - 0) * (1 - 0) / max(10000, 10000)
= 0.0001
in the first string " * min" and in the second " / max"
as I understand it isn't correct.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2021-08-09 16:06:16 Re: incorrect information in documentation
Previous Message David Rowley 2021-08-09 04:53:02 Re: Update maintenance_work_mem/autovacuum_work_mem to reflect the 1GB limitation with VACUUM