Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3AC1-0005r5-Lg for pgsql-hackers@arkaria.postgresql.org; Wed, 18 May 2016 22:43:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b3AC0-0007Kf-J6 for pgsql-hackers@arkaria.postgresql.org; Wed, 18 May 2016 22:43:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b3AAe-0005oc-Kt for pgsql-hackers@postgresql.org; Wed, 18 May 2016 22:42:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b3AAb-0008WG-Sc for pgsql-hackers@postgresql.org; Wed, 18 May 2016 22:42:27 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u4IMgGLO001526; Wed, 18 May 2016 18:42:16 -0400 From: Tom Lane To: Andres Freund cc: Josh berkus , Peter Geoghegan , Jeff Janes , Joe Conway , Victor Yegorov , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Reviewing freeze map code In-reply-to: <20160518223436.w32fzgoui6gaaj4p@alap3.anarazel.de> References: <573C714D.2060505@commandprompt.com> <573C77AF.8030201@joeconway.com> <573CCB9C.50705@agliodbs.com> <15044.1463610339@sss.pgh.pa.us> <20160518223436.w32fzgoui6gaaj4p@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 18 May 2016 15:34:36 -0700" Date: Wed, 18 May 2016 18:42:16 -0400 Message-ID: <15161.1463611336@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > On 2016-05-18 18:25:39 -0400, Tom Lane wrote: >> Yes, I've been wondering that too. VACUUM is not meant as a corruption >> checker, and should not be made into one, so what is the point of this >> flag exactly? > Well, so far a VACUUM FREEZE (or just setting vacuum_freeze_table_age = > 0) verified the correctness of the visibility map; and that found a > number of bugs. Now visibilitymap grew additional responsibilities, > with a noticeable risk of data eating bugs, and there's no way to verify > whether visibilitymap's frozen bits are set correctly. Meh. I'm not sure we should grow a rather half-baked feature we'll never be able to remove as a substitute for a separate sanity checker. The latter is really the right place for this kind of thing. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers