From: Peter Eisentraut Date: Wed, 12 Sep 2018 12:33:15 +0000 (+0200) Subject: ecpg: Change --version output to common style X-Git-Tag: REL_12_BETA1~1580 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba37349cff781120f61b2778257f594f0d10253c;p=postgresql 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 --- diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index 9a94e39545..f39bf697d6 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); } }