From b91ae36029df3db31a951ebda102ace8be5741ba 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 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); } } -- 2.40.0