summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-09-12 14:33:15 +0200
committerPeter Eisentraut <peter_e@gmx.net>2018-09-12 14:34:48 +0200
commitb91ae36029df3db31a951ebda102ace8be5741ba (patch)
treed9899924309dc27ffdd08bcd4aa4c2e6983da40d
parent293010a68afd5b3a1f1e7621d5c89ba422c21d09 (diff)
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 <pgsql-kr@postgresql.kr>
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c
index 9a94e395455..f39bf697d64 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);
}
}