summaryrefslogtreecommitdiff
path: root/src/bin/pg_waldump/pg_waldump.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-16 20:36:35 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-16 20:36:35 -0400
commitc079673dcb7f210617c9fc1470e6bf166d8a2971 (patch)
treecd8a2c6834da8d1157f11a38cb6272dc48e42dd1 /src/bin/pg_waldump/pg_waldump.c
parentddd243584a0f353bbaba260d976cc41b251bbf21 (diff)
downloadpostgresql-c079673dcb7f210617c9fc1470e6bf166d8a2971.tar.gz
Preventive maintenance in advance of pgindent run.
Reformat various places in which pgindent will make a mess, and fix a few small violations of coding style that I happened to notice while perusing the diffs from a pgindent dry run. There is one actual bug fix here: the need-to-enlarge-the-buffer code path in icu_convert_case was obviously broken. Perhaps it's unreachable in our usage? Or maybe this is just sadly undertested.
Diffstat (limited to 'src/bin/pg_waldump/pg_waldump.c')
-rw-r--r--src/bin/pg_waldump/pg_waldump.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/pg_waldump/pg_waldump.c b/src/bin/pg_waldump/pg_waldump.c
index 77b36f60e1..56843a5d50 100644
--- a/src/bin/pg_waldump/pg_waldump.c
+++ b/src/bin/pg_waldump/pg_waldump.c
@@ -689,18 +689,18 @@ usage(void)
printf(_(" -e, --end=RECPTR stop reading at WAL location RECPTR\n"));
printf(_(" -f, --follow keep retrying after reaching end of WAL\n"));
printf(_(" -n, --limit=N number of records to display\n"));
- printf(_(" -p, --path=PATH directory in which to find log segment files or a\n"
- " directory with a ./pg_wal that contains such files\n"
- " (default: current directory, ./pg_wal, PGDATA/pg_wal)\n"));
- printf(_(" -r, --rmgr=RMGR only show records generated by resource manager RMGR\n"
- " use --rmgr=list to list valid resource manager names\n"));
+ printf(_(" -p, --path=PATH directory in which to find log segment files or a\n"));
+ printf(_(" directory with a ./pg_wal that contains such files\n"));
+ printf(_(" (default: current directory, ./pg_wal, PGDATA/pg_wal)\n"));
+ printf(_(" -r, --rmgr=RMGR only show records generated by resource manager RMGR\n"));
+ printf(_(" use --rmgr=list to list valid resource manager names\n"));
printf(_(" -s, --start=RECPTR start reading at WAL location RECPTR\n"));
- printf(_(" -t, --timeline=TLI timeline from which to read log records\n"
- " (default: 1 or the value used in STARTSEG)\n"));
+ printf(_(" -t, --timeline=TLI timeline from which to read log records\n"));
+ printf(_(" (default: 1 or the value used in STARTSEG)\n"));
printf(_(" -V, --version output version information, then exit\n"));
printf(_(" -x, --xid=XID only show records with TransactionId XID\n"));
- printf(_(" -z, --stats[=record] show statistics instead of records\n"
- " (optionally, show per-record statistics)\n"));
+ printf(_(" -z, --stats[=record] show statistics instead of records\n"));
+ printf(_(" (optionally, show per-record statistics)\n"));
printf(_(" -?, --help show this help, then exit\n"));
}