Commit ba37349c authored by Peter Eisentraut's avatar Peter Eisentraut

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: default avatarIoseph Kim <pgsql-kr@postgresql.kr>
parent 2970afa6
...@@ -149,7 +149,7 @@ main(int argc, char *const argv[]) ...@@ -149,7 +149,7 @@ main(int argc, char *const argv[])
} }
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0) 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); exit(0);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment