From 00e0b67a584b51aac12e4279a31fa5a1130fe05f Mon Sep 17 00:00:00 2001
From: Magnus Hagander <magnus@hagander.net>
Date: Thu, 14 Jul 2016 15:39:01 +0200
Subject: [PATCH] Remove reference to range mode in pg_xlogdump error

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/pg_xlogdump/pg_xlogdump.c b/src/bin/pg_xlogdump/pg_xlogdump.c
index f24dcabb5b9..02575eb1c57 100644
--- a/src/bin/pg_xlogdump/pg_xlogdump.c
+++ b/src/bin/pg_xlogdump/pg_xlogdump.c
@@ -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;
 	}
 
-- 
GitLab