Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDW9a-00060D-Pt for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 14:53:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDW9Y-0003LQ-Sn for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 14:53:28 +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.89) (envelope-from ) id 1gDW9Y-0003LJ-LS for pgsql-hackers@lists.postgresql.org; Fri, 19 Oct 2018 14:53:28 +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 1gDW9V-0000V8-Ke for pgsql-hackers@postgresql.org; Fri, 19 Oct 2018 14:53:27 +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 w9JEr9xp001308; Fri, 19 Oct 2018 10:53:09 -0400 From: Tom Lane To: Michael Banck cc: Stephen Frost , Michael Paquier , Andrew Dunstan , Andres Freund , Postgres hackers , Daniel Gustafsson , Magnus Hagander Subject: Re: pgsql: Add TAP tests for pg_verify_checksums In-reply-to: <1539960209.22872.19.camel@credativ.de> References: <20181014015902.GI30064@paquier.xyz> <20181014224138.GA15473@paquier.xyz> <11414.1539615900@sss.pgh.pa.us> <20181016220900.GA2331@paquier.xyz> <61121849-19c2-ca27-a928-08aacc0f1105@2ndQuadrant.com> <20181019135009.GG2099@paquier.xyz> <20181019143659.GJ4184@tamriel.snowman.net> <1539960209.22872.19.camel@credativ.de> Comments: In-reply-to Michael Banck message dated "Fri, 19 Oct 2018 16:43:29 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1306.1539960789.1@sss.pgh.pa.us> Date: Fri, 19 Oct 2018 10:53:09 -0400 Message-ID: <1307.1539960789@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Banck writes: > Am Freitag, den 19.10.2018, 10:36 -0400 schrieb Stephen Frost: >> I just saw this committed and I'm trying to figure out why we are >> creating yet-another-list when it comes to deciding what should be >> checksum'd and what shouldn't be. > To be fair, the list in src/backend/replication/basebackup.c was a copy- > paste from the one in pg_verify_checksums (or from other parts of the > online activation patch). Seems like a job for a new(?) module in src/common/. regards, tom lane