Replace reference to "xlog-method" with "wal-method" in error message.
authorFujii Masao
Tue, 14 Feb 2017 16:25:48 +0000 (01:25 +0900)
committerFujii Masao
Tue, 14 Feb 2017 16:26:44 +0000 (01:26 +0900)
Commit 62e8b38 renamed "--xlog-method" option for pg_basebackup to
"--wal-method", but forgot to update the error message mentioning that option.

src/bin/pg_basebackup/pg_basebackup.c

index b6463faff96cceb13d320ccbb95f477c378662eb..0c82bc929ef9b4211bbc76757a5d07c08f906180 100644 (file)
@@ -2170,7 +2170,7 @@ main(int argc, char **argv)
                else
                {
                    fprintf(stderr,
-                           _("%s: invalid xlog-method option \"%s\", must be \"fetch\", \"stream\" or \"none\"\n"),
+                           _("%s: invalid wal-method option \"%s\", must be \"fetch\", \"stream\" or \"none\"\n"),
                            progname, optarg);
                    exit(1);
                }