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 1gDcUH-0007AO-4A for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 21:39:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDcUE-0006Wj-B7 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 21:39:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDcUD-0006Wc-Pk for pgsql-hackers@lists.postgresql.org; Fri, 19 Oct 2018 21:39:13 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDcUA-0001CW-Lk for pgsql-hackers@postgresql.org; Fri, 19 Oct 2018 21:39:11 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id C6384C03; Fri, 19 Oct 2018 17:39:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 19 Oct 2018 17:39:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=aF2shKpNFgr9VD3BYwRQMJIZVCv IFILKd/ZNZZqkbAk=; b=ZC4+Wr3MJAIsseReZ0m2ycN/TRDVEBzzGgJwDUGaFjn Dpnw9e5/LMQd0c3owoNaVE4ffjIhN94k0qIjFwI/hv/X2sU7APqryg69oxji/hZX 1D1YJVKF/LtI3hoXeOZxsHip2E/4w2BXjQBmkvK8nxQLPPRSmSi4BsFatLPvxd16 caKORm0Zuq6ftcSgX9oqqVKxtvFrIMFH9X7EKS5qWv5tw46V/auulc/nWIeQkPOx XEyCFAXaufGZ3bcPMpeiS5M5CQ5hd+TZ7DJofcYJZIlwiL9bhDTDal9O2giLTDvD i1PNbvBlrrfXJzIoPhcqL5MLpxfWmJm2xVlfyI/15Fg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=aF2shK pNFgr9VD3BYwRQMJIZVCvIFILKd/ZNZZqkbAk=; b=P7qcV97oliuGPaggbIymoT bezAX2SKtHwOe1C5lRO2VbYGLMsB4CcrzX982WxM91FFJI1BTKqR2ps+Q6GIZ7+s 7V9BOfIJUzNV7E5PGNKNwmXZbtwqmTpsOXXXDl+g0efvXPR7rpq7GDOB56hC7iiv ZY2HrTmpO6zAH4ETDK51zcOkdydBLj3g+c5l0V3BZrqSnuhls7ny2DqHImb/u6g+ vqshBa/5Bz9B3tzfg/vn/lRkMZYfjuxyShokwHOkC5n/mr23a3VXKJM+Cb6qQgnm f9yTqngxlQieBGQUdVKBFtfpd7kBDU5CNLE+mThMQFyfbPsQ2+ur8o3WZYiCe1Eg == X-ME-Sender: X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id D8F90E447F; Fri, 19 Oct 2018 17:39:06 -0400 (EDT) Date: Fri, 19 Oct 2018 14:39:05 -0700 From: Andres Freund To: Stephen Frost Cc: Michael Paquier , Andrew Dunstan , Tom Lane , Michael Banck , Postgres hackers , Daniel Gustafsson , Magnus Hagander Subject: Re: pgsql: Add TAP tests for pg_verify_checksums Message-ID: <20181019213905.5c6fh3k3koumuu33@alap3.anarazel.de> References: <20181019175908.kc67mfxdlguckask@alap3.anarazel.de> <20181019181103.GO4184@tamriel.snowman.net> <20181019183050.6fgqc5ugnavfzae4@alap3.anarazel.de> <20181019184751.GP4184@tamriel.snowman.net> <20181019192146.j4my7yjzv4eitw2w@alap3.anarazel.de> <20181019195728.GQ4184@tamriel.snowman.net> <20181019200723.4byzaw5km5jvsxlc@alap3.anarazel.de> <20181019203546.GR4184@tamriel.snowman.net> <20181019205724.ewnuhvrsanacihzq@alap3.anarazel.de> <20181019213257.GS4184@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181019213257.GS4184@tamriel.snowman.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-10-19 17:32:58 -0400, Stephen Frost wrote: > As you pointed out previously, the current code *doesn't* work, before > or after this change, and we clearly need to rework this to move things > into libpgcommon and also fix pg_basebackup. Reverting this would at > least get us back to having similar code between this and pg_basebackup, > and then it'll be cleaner and clearer to have one patch which moves that > similar logic into libpgcommon and fixes the missing exceptions for the > EXEC_BACKEND case. > > Keeping the patch doesn't do anything for the pg_basebackup case, and > confuses the issue by having these filename-pattern-whitelists which > weren't there before and that should be removed, imv. The current state has pg_verify_checksum work on windows for casual usage, which includes the regression tests that previously were broken. Whereas reverting it has the advantage that a fixup diff would be a few lines smaller. If you want to push a revert together with a fix, be my guest, but until that time it seems unhelpful to revert. Greetings, Andres Freund