Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdLb5-0006RU-5v for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2020 23:01:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kdLaX-0005fx-O1 for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2020 23:01:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdLaX-0005fp-HH for pgsql-hackers@lists.postgresql.org; Thu, 12 Nov 2020 23:01:09 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdLaS-0002gZ-RJ for pgsql-hackers@lists.postgresql.org; Thu, 12 Nov 2020 23:01:08 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kdLaQ-0002UT-R3; Thu, 12 Nov 2020 18:01:02 -0500 Date: Thu, 12 Nov 2020 18:01:02 -0500 From: Bruce Momjian To: Justin Pryzby Cc: Nikolay Samokhvalov , fabriziomello@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: Add important info about ANALYZE after create Functional Index Message-ID: <20201112230102.GE4506@momjian.us> References: <20201109232720.GA8930@momjian.us> <20201112211143.GL30691@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20201112211143.GL30691@telsasoft.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 12, 2020 at 03:11:43PM -0600, Justin Pryzby wrote: > I guess it should say "The system regularly ..." > > Also, the last sentence begins "For new expression indexes" and ends with > "about new expression indexes", which I guess could instead say "about the > expressions". How is this followup patch? -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee --TB36FDmn/VVEgNH/ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="expindex-v2.diff" diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml index 844f00904b..29dee5689e 100644 --- a/doc/src/sgml/ref/create_index.sgml +++ b/doc/src/sgml/ref/create_index.sgml @@ -746,13 +746,13 @@ Indexes: - The regularly system collects statistics on all of a table's + The system regularly collects statistics on all of a table's columns. Newly-created non-expression indexes can immediately use these statistics to determine an index's usefulness. For new expression indexes, it is necessary to run ANALYZE or wait for the autovacuum daemon to analyze - the table to generate statistics about new expression indexes. + the table to generate statistics for these indexes. --TB36FDmn/VVEgNH/--