postgres.git / summary / log / commit / refs
commit b91ae36029df3db31a951ebda102ace8be5741ba
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Wed Sep 12 12:33:15 2018 +0000
First released in: 12.0, 10.6, 11.0
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>
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 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);
}
}
[parent: 293010a68afd]