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>
This commit is contained in:
Peter Eisentraut 2018-09-12 14:33:15 +02:00
parent 2970afa6cf
commit ba37349cff
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}