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 1kdInT-0008Fj-FF for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2020 20:02:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kdInP-0000QS-NM for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2020 20:02:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdImR-000639-1U for pgsql-hackers@lists.postgresql.org; Thu, 12 Nov 2020 20:01:15 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdImO-0004Qr-H3 for pgsql-hackers@lists.postgresql.org; Thu, 12 Nov 2020 20:01:14 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kdImM-0003au-RH; Thu, 12 Nov 2020 15:01:10 -0500 Date: Thu, 12 Nov 2020 15:01:10 -0500 From: Bruce Momjian To: =?iso-8859-1?Q?Fabr=EDzio?= de Royes Mello Cc: Nikolay Samokhvalov , PostgreSQL Hackers Subject: Re: Add important info about ANALYZE after create Functional Index Message-ID: <20201112200110.GC4506@momjian.us> References: <20201109232720.GA8930@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Nov 9, 2020 at 08:35:46PM -0300, Fabrízio de Royes Mello wrote: > > > On Mon, 9 Nov 2020 at 20:27 Bruce Momjian wrote: > > > I see REINDEX CONCURRENTLY was fixed in head, but the docs didn't get > updated to mention the need to run ANALYZE or wait for autovacuum before > expression indexes can be fully used by the optimizer.  Instead of > putting this mention in the maintenance section, I thought the CREATE > INDEX page make more sense, since it is more of a usability issue, > rather than "why use expression indexes".  Patch attached, which I plan > to apply to all supported branches. >     > > > Did a quick review and totally agree... thanks a lot Bruce to help us don’t > miss it. Patch applied to all branches. Thanks for the review. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee