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 1nG690-00038j-0E for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Feb 2022 21:29:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nG68y-0002Lo-SN for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Feb 2022 21:29:24 +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 1nG68y-0002Lf-JA for pgsql-hackers@lists.postgresql.org; Fri, 04 Feb 2022 21:29:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nG68v-0000aV-Sg for pgsql-hackers@lists.postgresql.org; Fri, 04 Feb 2022 21:29:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 214LTJVO433899; Fri, 4 Feb 2022 16:29:19 -0500 From: Tom Lane To: Justin Pryzby cc: pgsql-hackers@lists.postgresql.org Subject: Re: Release notes for February minor releases In-reply-to: <20220204210214.GR23027@telsasoft.com> References: <425850.1644004739@sss.pgh.pa.us> <20220204210214.GR23027@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Fri, 04 Feb 2022 15:02:14 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <433897.1644010159.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Feb 2022 16:29:19 -0500 Message-ID: <433898.1644010159@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Justin Pryzby writes: > On Fri, Feb 04, 2022 at 02:58:59PM -0500, Tom Lane wrote: >> Please send comments/corrections by Sunday. [ assorted comments ] Thanks for the corrections. > + A previous bug fix disabled building of extended statistics for > + old-style inheritance trees, but any existing statistics data was > + not removed, and that data would become more and more out-of-date > + over time. Adjust the planner to ignore such data. Extended > + statistics for the individual child tables are still built and us= ed, > + however. > The issue here isn't that old stats were never updated. For inheritance= , they > *were* updated with non-inherited stats (for SELECT FROM ONLY). But the= n > "SELECT FROM tbl*" used the stats anyway... I'm confused about this bit. Are we still building bogus stats for inheritance parents, or has that stopped? regards, tom lane