Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZeWv-0005eD-6C for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Jan 2018 15:12:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZeWu-00067O-8Y for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Jan 2018 15:12:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eZeWu-00067F-2o for pgsql-bugs@lists.postgresql.org; Thu, 11 Jan 2018 15:12:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZeWp-0001dS-Vl for pgsql-bugs@lists.postgresql.org; Thu, 11 Jan 2018 15:12:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w0BFCGMb012174; Thu, 11 Jan 2018 10:12:16 -0500 From: Tom Lane To: Alvaro Herrera cc: David Gould , pgsql-bugs@lists.postgresql.org, Alina Alexeeva , Rajesh Bhatia , Arvind Kota , Jothikanth R , Ullas Lakkur Raghavendra , tomas.vondra@2ndquadrant.com Subject: Re: BUG #15005: ANALYZE can make pg_class.reltuples inaccurate. In-reply-to: <20180111143922.evxiss5q2n4ug74a@alvherre.pgsql> References: <20180111143922.evxiss5q2n4ug74a@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 11 Jan 2018 11:39:22 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12172.1515683536.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 11 Jan 2018 10:12:16 -0500 Message-ID: <12173.1515683536@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > David Gould wrote: >> I've tracked down how this happens and created a reproduction script an= d a >> patch. Attached: > Great work. Please make sure to register this as a bug fix in the > next commitfest. There's already an existing discussion about what seems to be the same issue, or at least a closely related one: https://www.postgresql.org/message-id/flat/16db4468-edfa-830a-f921-39a5049= 8e77e@2ndquadrant.com regards, tom lane