Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aynS2-0004wb-TM for pgsql-hackers@arkaria.postgresql.org; Fri, 06 May 2016 21:38:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aynS2-0007S6-6u for pgsql-hackers@arkaria.postgresql.org; Fri, 06 May 2016 21:38:22 +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 1aynQh-0005yA-Ra for pgsql-hackers@postgresql.org; Fri, 06 May 2016 21:36:59 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aynQf-0004CC-2M for pgsql-hackers@postgresql.org; Fri, 06 May 2016 21:36:58 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [216.155.90.98]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id BAB5340087D; Fri, 6 May 2016 14:36:54 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 36BB84C5; Fri, 6 May 2016 18:36:52 -0300 (CLST) Date: Fri, 6 May 2016 18:36:52 -0300 From: Alvaro Herrera To: Andres Freund Cc: "Joshua D. Drake" , Josh berkus , Robert Haas , Masahiko Sawada , "pgsql-hackers@postgresql.org" Subject: Re: Reviewing freeze map code Message-ID: <20160506213652.GA288015@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160506212958.wwwc22hfesvj76af@alap3.anarazel.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 wrote: > On 2016-05-06 14:17:13 -0700, Joshua D. Drake wrote: > > How do I test? > > > > Is there a script I can run? > > Unfortunately there's few interesting things to test with pre-made > scripts. There's no relevant OS dependency here, so each already > existing test doesn't really lead to significantly increased coverage > being run by other people. Generally, when testing for correctness > issues, it's often of limited benefit to run tests written by the author > of reviewer - such scripts will usually just test things either has > thought of. The dangerous areas are the ones neither author or reviewer > has considered. We touched this question in connection with multixact freezing and wraparound. Testers seem to want to be given a script that they can install and run, then go for a beer and get back to a bunch of errors to report. But it doesn't work that way; writing a useful test script requires a lot of effort. Jeff Janes has done astounding work in these matters. (I don't think we credit him enough for that.) -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers