postgres.git / summary / log / commit / refs

commit    31eb62d55ed97f9879f0bc0df2ba5c03dd76b0a6
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Mon Mar 18 23:53:04 2019 +0000
First released in: 11.3

    Fix error message in pg_verify_checksums
    
    5864d24 has introduced a new error message, and I somewhat managed to
    fail adapting the back-patched version correctly with the tool name.


src/bin/pg_verify_checksums/pg_verify_checksums.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_verify_checksums/pg_verify_checksums.c b/src/bin/pg_verify_checksums/pg_verify_checksums.c index 3ab0170977b..7d9c2774277 100644 --- a/src/bin/pg_verify_checksums/pg_verify_checksums.c +++ b/src/bin/pg_verify_checksums/pg_verify_checksums.c @@ -327,7 +327,7 @@ main(int argc, char *argv[]) { fprintf(stderr, _("%s: database cluster is not compatible.\n"), progname); - fprintf(stderr, _("The database cluster was initialized with block size %u, but pg_checksums was compiled with block size %u.\n"), + fprintf(stderr, _("The database cluster was initialized with block size %u, but pg_verify_checksums was compiled with block size %u.\n"), ControlFile->blcksz, BLCKSZ); exit(1); } [parent: adf27de8eabb]