diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-02-09 16:42:51 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-02-09 16:42:51 -0500 |
commit | 62e8b387514ce965c8b3d67c81990e0ecf8c9b83 (patch) | |
tree | 3aa47c094d2da717faf25a5012c1d38b7984410f /src/bin/initdb/initdb.c | |
parent | 3f01fd4ca0b4c81333b1f0dadb09c73aa589ab6e (diff) | |
download | postgresql-62e8b387514ce965c8b3d67c81990e0ecf8c9b83.tar.gz postgresql-62e8b387514ce965c8b3d67c81990e0ecf8c9b83.zip |
Rename command line options for ongoing xlog -> wal conversion.
initdb and pg_basebackup now have a --waldir option rather --xlogdir,
and pg_basebackup now has --wal-method rather than --xlog-method.
Diffstat (limited to 'src/bin/initdb/initdb.c')
-rw-r--r-- | src/bin/initdb/initdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 443c2ee4685..540427a8922 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -2255,7 +2255,7 @@ usage(const char *progname) " default text search configuration\n")); printf(_(" -U, --username=NAME database superuser name\n")); printf(_(" -W, --pwprompt prompt for a password for the new superuser\n")); - printf(_(" -X, --xlogdir=XLOGDIR location for the transaction log directory\n")); + printf(_(" -X, --waldir=WALDIR location for the write-ahead log directory\n")); printf(_("\nLess commonly used options:\n")); printf(_(" -d, --debug generate lots of debugging output\n")); printf(_(" -k, --data-checksums use data page checksums\n")); @@ -2941,7 +2941,7 @@ main(int argc, char *argv[]) {"nosync", no_argument, NULL, 'N'}, /* for backwards compatibility */ {"no-sync", no_argument, NULL, 'N'}, {"sync-only", no_argument, NULL, 'S'}, - {"xlogdir", required_argument, NULL, 'X'}, + {"waldir", required_argument, NULL, 'X'}, {"data-checksums", no_argument, NULL, 'k'}, {NULL, 0, NULL, 0} }; |