projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2970afa
)
ecpg: Change --version output to common style
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 12 Sep 2018 12:33:15 +0000
(14:33 +0200)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 12 Sep 2018 12:33:15 +0000
(14:33 +0200)
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>
src/interfaces/ecpg/preproc/ecpg.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/ecpg.c
b/src/interfaces/ecpg/preproc/ecpg.c
index 9a94e395455fd67281c24943cf80be1ec506ddda..f39bf697d64ea8001fd1ca08db1ec599c61a4562 100644
(file)
--- 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);
}
}