Skip to content

Commit bc08f79

Browse files
committed
Promote --data-checksums to the common set of options in initdb --help
This was previously part of the section dedicated to less common options, but it is an option commonly used these days. Author: Michael Banck Reviewed-by: Stephen Frost, Michael Paquier Discussion: https://postgr.es/m/d7938aca4d4ea8e8c72c33bd75efe9f8218fe390.camel@credativ.de
1 parent 14d49f4 commit bc08f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2275,6 +2275,7 @@ usage(const char *progname)
22752275
printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n"));
22762276
printf(_(" -E, --encoding=ENCODING set default encoding for new databases\n"));
22772277
printf(_(" -g, --allow-group-access allow group read/execute on data directory\n"));
2278+
printf(_(" -k, --data-checksums use data page checksums\n"));
22782279
printf(_(" --locale=LOCALE set default locale for new databases\n"));
22792280
printf(_(" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n"
22802281
" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n"
@@ -2290,7 +2291,6 @@ usage(const char *progname)
22902291
printf(_(" --wal-segsize=SIZE size of WAL segments, in megabytes\n"));
22912292
printf(_("\nLess commonly used options:\n"));
22922293
printf(_(" -d, --debug generate lots of debugging output\n"));
2293-
printf(_(" -k, --data-checksums use data page checksums\n"));
22942294
printf(_(" -L DIRECTORY where to find the input files\n"));
22952295
printf(_(" -n, --no-clean do not clean up after errors\n"));
22962296
printf(_(" -N, --no-sync do not wait for changes to be written safely to disk\n"));

0 commit comments

Comments
 (0)