diff options
| author | Peter Eisentraut | 2018-09-12 12:33:15 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2018-09-12 12:33:15 +0000 |
| commit | ba37349cff781120f61b2778257f594f0d10253c (patch) | |
| tree | ea87aaf08e3afdfc2fa6ea60070d043b33f96afa /src | |
| parent | 2970afa6cf1057107c998bf3cdd1fbf6dc78cf6c (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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.c | 2 |
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); } } |
