postgres.git / summary / log / commit / refs
commit 0dfa89ba2992b1be86ad3a5523a8d26dce31a08c
Author: Fujii Masao <fujii@postgresql.org>
Date: Tue Feb 14 16:25:48 2017 +0000
First released in: 10.0
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 b6463faff96..0c82bc929ef 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);
}
[parent: 0ede57a1a516]