Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b39vt-0005Ic-3l for pgsql-hackers@arkaria.postgresql.org; Wed, 18 May 2016 22:27:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b39vs-0000r3-2q for pgsql-hackers@arkaria.postgresql.org; Wed, 18 May 2016 22:27:12 +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 1b39uW-0007gN-Ew for pgsql-hackers@postgresql.org; Wed, 18 May 2016 22:25:48 +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 1b39uT-0008B7-Uy for pgsql-hackers@postgresql.org; Wed, 18 May 2016 22:25:47 +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 u4IMPetf000736; Wed, 18 May 2016 18:25:40 -0400 From: Tom Lane To: Josh berkus cc: Peter Geoghegan , Jeff Janes , Joe Conway , Victor Yegorov , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Reviewing freeze map code In-reply-to: <573CCB9C.50705@agliodbs.com> References: <20160517193208.GA169606@alvherre.pgsql> <573B8E6E.1070909@2ndquadrant.fr> <142e516d-2b66-1859-6733-aabd6ab9a272@archidevsys.co.nz> <648c400e-ff35-3f95-69cb-4a83f0158e7f@pgmasters.net> <573C714D.2060505@commandprompt.com> <573C77AF.8030201@joeconway.com> <573CCB9C.50705@agliodbs.com> Comments: In-reply-to Josh berkus message dated "Wed, 18 May 2016 16:07:56 -0400" Date: Wed, 18 May 2016 18:25:39 -0400 Message-ID: <15044.1463610339@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 Josh berkus writes: > Maybe this is the wrong perspective. I mean, is there a reason we even > need this option, other than a lack of any other way to do a full table > scan to check for corruption, etc.? If we're only doing this for > integrity checking, then maybe it's better if it becomes a function, > which could be later extended with additional forensic features? 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? (AFAIK, "select count(*) from table" would offer a similar amount of sanity checking as a full-table VACUUM scan does, so it's not like we've removed functionality with no near-term replacement.) 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