Skip to content

Commit ba37349

Browse files
committed
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>
1 parent 2970afa commit ba37349

File tree

1 file changed

+1
-1
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/preproc/ecpg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ main(int argc, char *const argv[])
149149
}
150150
if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
151151
{
152-
printf("ecpg %s\n", PG_VERSION);
152+
printf("ecpg (PostgreSQL) %s\n", PG_VERSION);
153153
exit(0);
154154
}
155155
}

0 commit comments

Comments
 (0)