Skip to content

Commit 26b45dc

Browse files
committed
Fix typo in "pg_xlogdump --help" and error message.
Fujii Masao and me.
1 parent 3a9e64a commit 26b45dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pg_xlogdump/pg_xlogdump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ usage(void)
393393
printf(" (default: ./pg_xlog)\n");
394394
printf(" -r, --rmgr=RMGR only show records generated by resource manager RMGR\n");
395395
printf(" use --rmgr=list to list valid resource manager names\n");
396-
printf(" -s, --start=RECPTR stop reading at log position RECPTR\n");
396+
printf(" -s, --start=RECPTR start reading at log position RECPTR\n");
397397
printf(" -t, --timeline=TLI timeline from which to read log records\n");
398398
printf(" (default: 1 or the value used in STARTSEG)\n");
399399
printf(" -x, --xid=XID only show records with TransactionId XID\n");
@@ -512,7 +512,7 @@ main(int argc, char **argv)
512512
case 's':
513513
if (sscanf(optarg, "%X/%X", &xlogid, &xrecoff) != 2)
514514
{
515-
fprintf(stderr, "%s: could not parse end log position \"%s\"\n",
515+
fprintf(stderr, "%s: could not parse start log position \"%s\"\n",
516516
progname, optarg);
517517
goto bad_argument;
518518
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy