Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v40xc-0075WB-DM for pgsql-www@arkaria.postgresql.org; Wed, 01 Oct 2025 17:49:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v40xZ-004XmK-LP for pgsql-www@arkaria.postgresql.org; Wed, 01 Oct 2025 17:49:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v3w4Y-001taG-FJ for pgsql-www@lists.postgresql.org; Wed, 01 Oct 2025 12:36:43 +0000 Received: from webmail.nnx.com ([212.85.137.2] helo=webmail2.nnx.com) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1v3w4V-000sA6-10 for pgsql-www@postgresql.org; Wed, 01 Oct 2025 12:36:41 +0000 Received: by webmail2.nnx.com (Postfix, from userid 33) id 9810C9B2A; Wed, 1 Oct 2025 14:41:26 +0200 (CEST) Received: from 213.201.129.77.rev.sfr.net (213.201.129.77.rev.sfr.net [77.129.201.213]) by monmail.nnx.com (Horde Framework) with HTTP; Wed, 01 Oct 2025 14:41:26 +0200 Message-ID: <20251001144126.14211k10ws970dx2@monmail.nnx.com> Date: Wed, 01 Oct 2025 14:41:26 +0200 From: Patrick BUNINO Reply-to: patrickb@nnx.com To: pgsql-www@postgresql.org Subject: Wiki Editor request MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi . I=92ve just created an account as Patrick83300. The Count_Estimate Wiki Page seems wrong and i=92d like to change few thing= s : The example create table has 1000 rows and not 100 :) , =20 generate_series(1,1000) makes 1000 numbers, not 100 (at least in =20 Postgres 9.5.3) One should use a =ABexplain select ... where t<999999999999=BB in order to = =20 get the actual number of rows in the "rows=3D" part of the plan. explain select * from tbl where t<2222; QUERY PLAN ....... rows=3D1000 Filter: (t < 2222) If one use t<100 he gets rows=3D100 which is not an estimation of the =20 TOTAL number of rows in the table. Cordialement. Patrick BUNINO