Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geHVn-00020R-0k for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jan 2019 10:43:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1geHVl-00049J-8t for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jan 2019 10:43:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geHVk-00049C-UJ for pgsql-hackers@lists.postgresql.org; Tue, 01 Jan 2019 10:43:01 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geHVd-0001eP-Aa for pgsql-hackers@postgresql.org; Tue, 01 Jan 2019 10:42:59 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id 1D0D71E27E3; Tue, 1 Jan 2019 11:42:50 +0100 (CET) Received: from kohn.fritz.box (ppp-88-217-97-255.dynamic.mnet-online.de [88.217.97.255]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mba@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id BBB531E1E19; Tue, 1 Jan 2019 11:42:49 +0100 (CET) Message-ID: <1546339369.6654.1.camel@credativ.de> Subject: Re: Offline enabling/disabling of data checksums From: Michael Banck To: Michael Paquier Cc: Magnus Hagander , Tomas Vondra , Postgres hackers Date: Tue, 01 Jan 2019 11:42:49 +0100 In-Reply-To: <20190101023848.GE3243@paquier.xyz> References: <20181221201616.GD4974@nighthawk.caipicrew.dd-dns.de> <20181221232834.GB1948@paquier.xyz> <348aef85-a967-80d2-7bef-7274909475cf@2ndquadrant.com> <20181227232529.GA3210@paquier.xyz> <1546080943.3394.1.camel@credativ.de> <20190101023848.GE3243@paquier.xyz> Organization: credativ GmbH Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, Am Dienstag, den 01.01.2019, 11:38 +0900 schrieb Michael Paquier: > On Sat, Dec 29, 2018 at 11:55:43AM +0100, Michael Banck wrote: > > Renaming applications shouldn't be a problem unless they have to be > > moved from one binary package to another. I assume all packagers ship > > all client/server binaries in one package, respectively (and not e.g. a > > dedicated postgresql-11-pg_test_fsync package), this should only be a > > matter of updating package metadata. > > > > In any case, it should be identical to the xlog->wal rename. > > I have poked -packagers on the matter and I am seeing no complains, so > let's move forward with this stuff. From the consensus I am seeing on > the thread, we have been discussing about the following points: > 1) Rename pg_verify_checksums to pg_checksums. > 2) Have separate switches for each action, aka --verify, --enable and > --disable, or a unified --action switch which can take different > values. > 3) Do we want to imply --verify by default if no switch is specified? > > About 2), folks who have expressed an opinion are: > - Multiple switches: Robert, Fabien, Magnus > - Single --action switch: Michael B, Michael P I implemented the multiple switches thing in my branch first anyway and don't mind a lot either way; I think the consensus goes towards multiple switches. > About 3), aka --verify implied if no action is specified: > - In favor: Fabien C, Magnus > - Against: Michael P I think I'm in favor as well. I wonder whether we (or packagers) could then just ship a pg_verify_checksums -> pg_checksums symlink for compatibility if we/they want, as the behaviour would stay the same? Michael -- Michael Banck Projektleiter / Senior Berater Tel.: +49 2166 9901-171 Fax: +49 2166 9901-100 Email: michael.banck@credativ.de credativ GmbH, HRB Mönchengladbach 12080 USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer Unser Umgang mit personenbezogenen Daten unterliegt folgenden Bestimmungen: https://www.credativ.de/datenschutz