Remove reference to range mode in pg_xlogdump error
authorMagnus Hagander
Thu, 14 Jul 2016 13:39:01 +0000 (15:39 +0200)
committerMagnus Hagander
Thu, 14 Jul 2016 13:39:01 +0000 (15:39 +0200)
pg_xlogdump doesn't have any other mode, so it's just confusing to
include this in the error message as it indicates there might be another
mode.

src/bin/pg_xlogdump/pg_xlogdump.c

index f24dcabb5b9b53f1e8051a71d26dfc9bb1be7381..02575eb1c5798d28bc38a752a55ffc0640e2ae2e 100644 (file)
@@ -949,7 +949,7 @@ main(int argc, char **argv)
    /* we don't know what to print */
    if (XLogRecPtrIsInvalid(private.startptr))
    {
-       fprintf(stderr, "%s: no start log position given in range mode.\n", progname);
+       fprintf(stderr, "%s: no start log position given.\n", progname);
        goto bad_argument;
    }