From 6592d89068b694af6894117e629ab45c1e1f49b2 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 12 Sep 2018 14:33:15 +0200 Subject: [PATCH] ecpg: Change --version output to common style When we removed the ecpg-specific versions, we also removed the "(PostgreSQL)" from the --version output, which we show in other programs. Reported-by: Ioseph Kim --- src/interfaces/ecpg/preproc/ecpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index d938ba67f06..39862a23370 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -149,7 +149,7 @@ main(int argc, char *const argv[]) } if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0) { - printf("ecpg %s\n", PG_VERSION); + printf("ecpg (PostgreSQL) %s\n", PG_VERSION); exit(0); } } -- 2.39.5