Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
pg_basebackup: Correct error message
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 27 Aug 2012 04:49:39 +0000 (00:49 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 27 Aug 2012 04:50:32 +0000 (00:50 -0400)
It still thought that the --xlog-method option argument could be
empty, as in a previous version of this feature.

src/bin/pg_basebackup/pg_basebackup.c

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