Re: Why does pg_checksums -r not have a long option?

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: Why does pg_checksums -r not have a long option?
Дата
в 07:22:42
Msg-id
CBC19466-EDA3-4E10-9FC6-F293004D32EB@yesql.se
Ответ на
Список
Дерево обсуждения
Why does pg_checksums -r not have a long option? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Why does pg_checksums -r not have a long option? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Why does pg_checksums -r not have a long option? Michael Paquier <michael@paquier.xyz>
Re: Why does pg_checksums -r not have a long option? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Why does pg_checksums -r not have a long option? Michael Paquier <michael@paquier.xyz>
Re: Why does pg_checksums -r not have a long option? Fabien COELHO <coelho@cri.ensmp.fr>
Re: Why does pg_checksums -r not have a long option? Michael Paquier <michael@paquier.xyz>
Re: Why does pg_checksums -r not have a long option? Daniel Gustafsson <daniel@yesql.se>
Re: Why does pg_checksums -r not have a long option? Michael Paquier <michael@paquier.xyz>
Re: Why does pg_checksums -r not have a long option? Michael Banck <michael.banck@credativ.de>
Re: Why does pg_checksums -r not have a long option? Michael Paquier <michael@paquier.xyz>
Re: Why does pg_checksums -r not have a long option? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Why does pg_checksums -r not have a long option? Michael Paquier <michael@paquier.xyz>
Re: Why does pg_checksums -r not have a long option? Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Why does pg_checksums -r not have a long option? Fabien COELHO <coelho@cri.ensmp.fr>
> On 27 May 2019, at 03:52, Michael Paquier  wrote:

> pg_verify_checksums has been using -r for whatever reason, but as we
> do a renaming of the binary for v12 we could just fix that
> inconsistency as well.

The original patch used -o in pg_verify_checksums, the discussion of which
started in the below mail:

https://postgr.es/m/20180228194242.qbjasdtwm2yj5rqg%40alvherre.pgsql

Since -f was already used for “force check”, -r ended up being used.  Now that
there no longer is a -f flag in pg_checksums, it can be renamed.

cheers ./daniel

В списке pgsql-hackers по дате отправления
От: Amit Langote
Дата:
От: Jan Chochol
Дата:
FAQ