Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJ9dQ-0006hB-4y for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Mar 2020 05:40:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJ9dP-0001sd-3W for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Mar 2020 05:40:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJ9dO-0001sW-LN for pgsql-hackers@lists.postgresql.org; Tue, 31 Mar 2020 05:40:22 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jJ9dM-0005sd-1V for pgsql-hackers@postgresql.org; Tue, 31 Mar 2020 05:40:21 +0000 Received: by mail-pj1-x1042.google.com with SMTP id z3so599232pjr.4 for ; Mon, 30 Mar 2020 22:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JA4rX8EjrQW9Kw7+ndw6RobrFsr78sD8DqoeYMXgM+8=; b=Yn6R081aCrH4yOGecz+9yVRWfekAcdp296muO2njf+6b4K/OB4sI9vjVvjdsqt3AoZ cv5NJ+1RqDCMvZBU2ZzBj9JYWamyevAkxyW9zMyw9u7iZI45KO99B06fmVj6tf1oUb8Q D0fex8lNcvosAvjG1MJ0zN2TpHj990hHQOLBQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JA4rX8EjrQW9Kw7+ndw6RobrFsr78sD8DqoeYMXgM+8=; b=B4X1PxvlE6exYBmHCwiRAM0ZkieNbz9ok7O+JOSKtSV8GnLrjvbyAtoulwND/Ewiro q8WxPwktAJwUqPyQh5AGWAUz52pLs9WTS36bvayu8QIRdE6WTBWTT5VHcEq3+suKC61G qQROcu8z0Tvm37DjyMXHNORL1oTPtlty6fGIxOoe15xvM/gqXT0OFJLDM1kr++tOr8M9 +2wifiHBNcLrVUlbYnW0aohinvV5NUJVUqKI00fW2JMlTceLc9ONLYy3miZQngmnei+3 7hHTNTG9AmHnQ3nkGT4FEg7fAX4y/6JKQWhEWNOcrCY3Ui1u51keBi+BClbtRM+eqm5Q MvHg== X-Gm-Message-State: ANhLgQ2Ax4qw0E2Fn1NS7m6M0AdNu49pbzJS3pRTZuSFmcBhyc+KH+Kx Daxi69hbfYJRz8lXT8P3piCPCQ== X-Google-Smtp-Source: ADFU+vsXw9GN7V/C4XSCMTrl9CPZdf+mv4QEQQPXzDHruEANC4THbvuGRzXR5DkDXQOEIN9q9Qg8dA== X-Received: by 2002:a17:902:b905:: with SMTP id bf5mr14842365plb.162.1585633218155; Mon, 30 Mar 2020 22:40:18 -0700 (PDT) Received: from rfd.leadboat.com (108-233-125-46.lightspeed.sntcca.sbcglobal.net. [108.233.125.46]) by smtp.gmail.com with ESMTPSA id o5sm10596304pgm.70.2020.03.30.22.40.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2020 22:40:17 -0700 (PDT) Date: Mon, 30 Mar 2020 22:40:14 -0700 From: Noah Misch To: Andres Freund Cc: Robert Haas , Amit Kapila , David Steele , Stephen Frost , Suraj Kharage , tushar , Rajkumar Raghuwanshi , Rushabh Lathia , Tels , Andrew Dunstan , PostgreSQL Hackers , Jeevan Chalke , vignesh C Subject: Re: backup manifests Message-ID: <20200331054014.GA3354091@rfd.leadboat.com> References: <20200325205433.GV13712@tamriel.snowman.net> <16538d02-fd4b-6c4f-81a5-132c8fe8c3e9@pgmasters.net> <20200329034010.GB2247658@rfd.leadboat.com> <20200330055854.GC2324620@rfd.leadboat.com> <20200330191631.yjgvpdfd6u3raebw@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200330191631.yjgvpdfd6u3raebw@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Mar 30, 2020 at 12:16:31PM -0700, Andres Freund wrote: > On 2020-03-30 15:04:55 -0400, Robert Haas wrote: > > I guess I'd like to be clear here that I have no fundamental > > disagreement with taking this tool in any direction that people would > > like it to go. For me it's just a question of timing. Feature freeze > > is now a week or so away, and nothing complicated is going to get done > > in that time. If we can all agree on something simple based on > > Andres's recent proposal, cool, but I'm not yet sure that will be the > > case, so what's plan B? We could decide that what I have here is just > > too little to be a viable facility on its own, but I think Stephen is > > the only one taking that position. We could release it as > > pg_validatemanifest with a plan to rename it if other backup-related > > checks are added later. We could release it as pg_validatebackup with > > the idea to avoid having to rename it when more backup-related checks > > are added later, but with a greater possibility of confusion in the > > meantime and no hard guarantee that anyone will actually develop such > > checks. We could put it in to pg_checksums, but I think that's really > > backing ourselves into a corner: if backup validation develops other > > checks that are not checksum-related, what then? I'd much rather > > gamble on keeping things together by topic (backup) than technology > > used internally (checksum). Putting it into pg_basebackup is another > > option, and would avoid that problem, but it's not my preferred > > option, because as I noted before, I think the command-line options > > will get confusing. > > I'm mildly inclined to name it pg_validate, pg_validate_dbdir or > such. And eventually (definitely not this release) subsume pg_checksums > in it. That way we can add other checkers too. Works for me; of those two, I prefer pg_validate.