diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c index dedc48a9936..36561b9b4ca 100644 --- a/contrib/pg_upgrade/option.c +++ b/contrib/pg_upgrade/option.c @@ -81,7 +81,7 @@ parseCommandLine(int argc, char *argv[]) } if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0) { - pg_log(PG_REPORT, "pg_upgrade " PG_VERSION "\n"); + puts("pg_upgrade (PostgreSQL) " PG_VERSION); exit(0); } }