From 0dfa89ba2992b1be86ad3a5523a8d26dce31a08c Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Wed, 15 Feb 2017 01:25:48 +0900 Subject: [PATCH] Replace reference to "xlog-method" with "wal-method" in error message. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index b6463faff9..0c82bc929e 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -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); } -- 2.40.0