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 1hYoHD-0001Pt-9s for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Jun 2019 09:01:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hYoHC-0002aT-31 for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Jun 2019 09:01:38 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYoHA-0002Xg-3o for pgsql-hackers@lists.postgresql.org; Thu, 06 Jun 2019 09:01:37 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYoH6-0002rH-Bl for pgsql-hackers@postgresql.org; Thu, 06 Jun 2019 09:01:35 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 24DAE21B5A; Thu, 6 Jun 2019 05:01:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 06 Jun 2019 05:01:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Lvl+PI7GfV4OhHiQ3RJXgCD+VMU X4dpAm05f3+gImMw=; b=Ss8Ae1CYBj7eP2b9ntV9YpsYALDetexhGPpbCLHpIlA leIheeHVqE95asBhto/J1tyCJ6nEJVSrnQoVQcpl572xlG1ZoAT54AAYUlClos7k udc545BRZQO619PF2Cl+KY18DGKfWrcXG6qIXMF28k3ZZrbkQyjN4XtI6uykuSW7 UfbggsgtEwvLZvHKyWlY9pRQ3YIsGhI0YMhUl/pXVwaBjj4hv3Xa9SCBqhjwGk8p trYv8w0zj+l2PYn/If//T0doRsvatg3ZWORHaVGdXcAaeDWViUZ7IsfiVncN2afc xsGxIXSCAQ+BYoruURJcAn+6tmMxk7o2pnBNs1dGZvQ== 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=fm2; bh=Lvl+PI 7GfV4OhHiQ3RJXgCD+VMUX4dpAm05f3+gImMw=; b=Y8LZtpR8rdNi3mJM+cFrKm OuaFsRPX6xaYobONTTDKxsZ7vjXrCjLNTBRYVEk3yPyPgCzbi4OjwN9mYtJyOC9b tYc5U79soPBfAJrW3RzbXgO18D/APZeYmlOQzijGxBVWCUuuIPedFtRWml9HHeg7 UMX/s30a/zXU3l4ve16Oz51+DbxwjU4ZrYVnNNrhnCL99qO9vbR8h7FHon4tJeRR yZgwzLY/5iSFxBQX2pvga8SPrf1Ow9p+ye1EliD1jF3+0O5bNyN3dXwNDXqMdRoM L0GAFLgETLGLKAoBZMuAAI33vx8emsl/DeExpDL1FLd6ZEmPHQVQe/hbgpFMThtA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeggedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepuddukedrvdeguddrvdegkedrkeehnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (mp76f1f855.ap.nuro.jp [118.241.248.85]) by mail.messagingengine.com (Postfix) with ESMTPA id 081E538008B; Thu, 6 Jun 2019 05:01:25 -0400 (EDT) Date: Thu, 6 Jun 2019 18:01:21 +0900 From: Michael Paquier To: Peter Eisentraut Cc: Michael Banck , Daniel Gustafsson , Fabien COELHO , pgsql-hackers Subject: Re: Why does pg_checksums -r not have a long option? Message-ID: <20190606090121.GC10729@paquier.xyz> References: <97045260-fb9e-e145-a950-cf7d28c4eaea@2ndquadrant.com> <20190527015204.GC1963@paquier.xyz> <20190527081743.GC31167@nighthawk.caipicrew.dd-dns.de> <20190528025648.GA1348@paquier.xyz> <031dc90a-0d2c-69f3-b219-88197a6968f2@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Pk6IbRAofICFmK5e" Content-Disposition: inline In-Reply-To: <031dc90a-0d2c-69f3-b219-88197a6968f2@2ndquadrant.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Pk6IbRAofICFmK5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 05, 2019 at 10:31:54PM +0200, Peter Eisentraut wrote: > I think -r/--relfilenode was actually a good suggestion. Because it > doesn't actually check a *file* but potentially several files (forks, > segments). The -f naming makes it sound like it operates on a specific > file. Hmm. I still tend to prefer the -f/--filenode interface as that's more consistent with what we have in the documentation, where relfilenode gets only used when referring to the pg_class attribute. You have a point about the fork types and extra segments, but I am not sure that --relfilenode defines that in a better way than --filenode. -- Michael --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlz41mEACgkQnvQgOdby QH2HTw/+Limtjpmtq9gJrySl1ywP5SFvuehmHVk1Q5EMRRfEqXW9GVeRHMi5BSf2 J30FGzuCzYBSHgdwi2QaQGTiaK9G22LwXnPNfSbIQfHwYubmpRya4riMQnT43RQG K5EmM9+/MESbIiD1SsIFmsptQDNBOdq66nOi6ljm7rWb8qpgauX29TTwaOMijfD5 AkJ+7I0bsHo8qXlh5ZJiO8EOpxajPfaHeEre0KmiixVMsQciB2o1KflfO4ibzcRE ChZW+Xl14znz8vGhNthRjpj9QJ5JGDubu6dw/xwbh3hlkuDrQBOMqok3xXIUPLQQ CsdW1tXTsYeHDqjJf/UzXoEn+NDdEfwotaQhgTnxEfbz6o1JNfihoeWDUg2+mME6 YJGQ+v11/WrTdP19aFYAUAGzAoJROHfY2in5o80cnfG4slWSad5DAgpRAkh4147t RC43UEPxN/KMcg3D6qyoVgUdpHbpL5alOkR3rxWN5zU+Gi7qcQEiHDGksmq8WSNx 1afzav2w2X5KBrwzKpC3T9PSrAz3L5o/9LMyWc/fGRc7/3/DeDzC1FJAZmXc4REM O3uposMr9Lz5eRH4L/79FNNqRLQXKsQpxpNeNTlBtQ+9ExsWIWVkPK8kcBMhwoLy bsHKRISWlsCpNeHAK+0CS7ybSWTm7+n14kJaSoK3M6P9I/NQtwc= =5iTw -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--