aboutsummaryrefslogtreecommitdiff
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:53 +0200
commit6592d89068b694af6894117e629ab45c1e1f49b2 (patch)
tree188337eff0cf16ebd7d0a5523183ddc0ccfc31b5
parentc02b56869439281d139d47dae784e3f7cf765f2d (diff)
downloadpostgresql-6592d89068b694af6894117e629ab45c1e1f49b2.tar.gz
postgresql-6592d89068b694af6894117e629ab45c1e1f49b2.zip
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 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);
}
}