From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Michael Banck <michael.banck@credativ.de>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Why does pg_checksums -r not have a long option?
Date: Thu, 6 Jun 2019 18:01:21 +0900
Message-ID: <20190606090121.GC10729@paquier.xyz> (raw)
In-Reply-To: <031dc90a-0d2c-69f3-b219-88197a6968f2@2ndquadrant.com>
References: <97045260-fb9e-e145-a950-cf7d28c4eaea@2ndquadrant.com>
<alpine.DEB.2.21.1905260832240.27800@lancre>
<20190527015204.GC1963@paquier.xyz>
<CBC19466-EDA3-4E10-9FC6-F293004D32EB@yesql.se>
<20190527081743.GC31167@nighthawk.caipicrew.dd-dns.de>
<20190528025648.GA1348@paquier.xyz>
<031dc90a-0d2c-69f3-b219-88197a6968f2@2ndquadrant.com>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: michael@paquier.xyz, peter.eisentraut@2ndquadrant.com, michael.banck@credativ.de, daniel@yesql.se, coelho@cri.ensmp.fr
Subject: Re: Why does pg_checksums -r not have a long option?
In-Reply-To: <20190606090121.GC10729@paquier.xyz>
References: <97045260-fb9e-e145-a950-cf7d28c4eaea@2ndquadrant.com> <alpine.DEB.2.21.1905260832240.27800@lancre> <20190527015204.GC1963@paquier.xyz> <CBC19466-EDA3-4E10-9FC6-F293004D32EB@yesql.se> <20190527081743.GC31167@nighthawk.caipicrew.dd-dns.de> <20190528025648.GA1348@paquier.xyz> <031dc90a-0d2c-69f3-b219-88197a6968f2@2ndquadrant.com> <20190606090121.GC10729@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox