From f1ce08dc7f75104d368d13642f3c51abb1bab428 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 16 Dec 2014 21:41:33 +0200 Subject: [PATCH] Use general PostgreSQL version number in pg_rewind --version --- contrib/pg_rewind/pg_rewind.c | 2 +- contrib/pg_rewind/pg_rewind.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/pg_rewind/pg_rewind.c b/contrib/pg_rewind/pg_rewind.c index 916ce58acc..501414fbde 100644 --- a/contrib/pg_rewind/pg_rewind.c +++ b/contrib/pg_rewind/pg_rewind.c @@ -111,7 +111,7 @@ main(int argc, char **argv) } if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0) { - puts("pg_rewind " PG_REWIND_VERSION); + puts("pg_rewind (PostgreSQL) " PG_VERSION); exit(0); } } diff --git a/contrib/pg_rewind/pg_rewind.h b/contrib/pg_rewind/pg_rewind.h index 3fe72a84c6..c89b1ec28c 100644 --- a/contrib/pg_rewind/pg_rewind.h +++ b/contrib/pg_rewind/pg_rewind.h @@ -20,8 +20,6 @@ #include "storage/block.h" #include "storage/relfilenode.h" -#define PG_REWIND_VERSION "0.1" - /* Configuration options */ extern char *datadir_target; extern char *datadir_source; -- 2.39.5