Improve command line options for pg_waldump.
authorThomas Munro <tmunro@postgresql.org>
Fri, 25 Mar 2022 00:44:10 +0000 (13:44 +1300)
committerThomas Munro <tmunro@postgresql.org>
Fri, 25 Mar 2022 00:52:27 +0000 (13:52 +1300)
commit52b5568432963b721698a2df1f37a0795b9611dc
tree65fd743d9d7cc4759cb04ddc5aa19e0acca1be3d
parentf28bf667f602f6ff36c219eb40c5f61de4440ae5
Improve command line options for pg_waldump.

Follow-up improvements for commit 127aea2a based on discussion:

* use fork name for --fork, not number
* use -R, -B as short switches for --relation, --block
* re-alphabetize the list of switches (code, --help and docs)

Suggested-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com> (fork name part)
Reviewed-by: David Christensen <david.christensen@crunchydata.com>
Reviewed-by: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/3a4c2e93-7976-2320-fc0a-32097fe148a7%40enterprisedb.com
doc/src/sgml/ref/pg_waldump.sgml
src/bin/pg_waldump/pg_waldump.c