From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
To: 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: Wed, 5 Jun 2019 22:31:54 +0200
Message-ID: <031dc90a-0d2c-69f3-b219-88197a6968f2@2ndquadrant.com> (raw)
In-Reply-To: <20190528025648.GA1348@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>
On 2019-05-28 04:56, Michael Paquier wrote:
> You could also use a long option for that without a one-letter option,
> like --file-path or such, so reserving a one-letter option for a
> future, hypothetical use is not really a stopper in my opinion. In
> consequence, I think that that it is fine to just use -f/--filenode.
> Any objections or better suggestions from other folks here?
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.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, 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: <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>
* 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