Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbff62df

Browse files
committed
Reestablish alignment of pg_controldata output.
Until 9.4, pg_controldata output was all aligned. At some pointduring 9.5 development, a new item was added, namely"Current track_commit_timestamp setting:" which is two characterstoo long to be aligned with the rest of the output. Fix this byremoving the noise word "Current" and adding the requisite numberof padding spaces. Since the six preceding items are also similarin nature, remove "Current" and pad those as well in order tomaintain overall consistency. Backpatch to 9.5 where new offendingitem was added.
1 parent7c0c4d0 commitbff62df

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎src/bin/pg_controldata/pg_controldata.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,19 +290,19 @@ main(int argc, char *argv[])
290290
(uint32)ControlFile.backupEndPoint);
291291
printf(_("End-of-backup record required: %s\n"),
292292
ControlFile.backupEndRequired ?_("yes") :_("no"));
293-
printf(_("Currentwal_level setting: %s\n"),
293+
printf(_("wal_level setting: %s\n"),
294294
wal_level_str(ControlFile.wal_level));
295-
printf(_("Currentwal_log_hints setting: %s\n"),
295+
printf(_("wal_log_hints setting: %s\n"),
296296
ControlFile.wal_log_hints ?_("on") :_("off"));
297-
printf(_("Currentmax_connections setting: %d\n"),
297+
printf(_("max_connections setting: %d\n"),
298298
ControlFile.MaxConnections);
299-
printf(_("Currentmax_worker_processes setting: %d\n"),
299+
printf(_("max_worker_processes setting: %d\n"),
300300
ControlFile.max_worker_processes);
301-
printf(_("Currentmax_prepared_xacts setting: %d\n"),
301+
printf(_("max_prepared_xacts setting: %d\n"),
302302
ControlFile.max_prepared_xacts);
303-
printf(_("Currentmax_locks_per_xact setting: %d\n"),
303+
printf(_("max_locks_per_xact setting: %d\n"),
304304
ControlFile.max_locks_per_xact);
305-
printf(_("Currenttrack_commit_timestamp setting: %s\n"),
305+
printf(_("track_commit_timestamp setting: %s\n"),
306306
ControlFile.track_commit_timestamp ?_("on") :_("off"));
307307
printf(_("Maximum data alignment: %u\n"),
308308
ControlFile.maxAlign);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp