pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: david.emmerson@gearset.com
Subject: Copy paste error
Date: Thu, 13 Feb 2025 11:39:15 +0000
Message-ID: <173944675534.197401.3845582322444390962@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/multivariate-statistics-examples.html
Description:

CREATE STATISTICS stts (dependencies) ON a, b FROM t;
ANALYZE t;
EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1 AND b = 1;
                                  QUERY PLAN
-------------------------------------------------------------------​------------
 Seq Scan on t  (cost=0.00..195.00 rows=100 width=8) (actual rows=100
loops=1)
   Filter: ((a = 1) AND (b = 1))
   Rows Removed by Filter: 9900


The result of the explain is a copy paste of previous example, so this
example looks like the statistic doesn't improve things


view thread (3+ messages)  latest in thread

Message-ID: <173944675534.197401.3845582322444390962@wrigleys.postgresql.org>
Permalink:  ../173944675534.197401.3845582322444390962@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/173944675534.197401.3845582322444390962@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, david.emmerson@gearset.com
  Subject: Re: Copy paste error
  In-Reply-To: <173944675534.197401.3845582322444390962@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox