Skip to content

Commit 92b7cc9

Browse files
committed
PGPRO-1290: Fix a typo in check_server_version()
1 parent 4ed28cf commit 92b7cc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backup.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -989,23 +989,23 @@ check_server_version(void)
989989
if (PQresultStatus(res) == PGRES_FATAL_ERROR)
990990
/* It seems we connected to PostgreSQL (not Postgres Pro) */
991991
elog(ERROR, "%s was built with Postgres Pro %s %s, "
992-
"but connection made with PostgreSQL %s",
992+
"but connection is made with PostgreSQL %s",
993993
PROGRAM_NAME, PG_MAJORVERSION, PGPRO_EDITION, server_version_str);
994994
else if (strcmp(server_version_str, PG_MAJORVERSION) != 0 &&
995995
strcmp(PQgetvalue(res, 0, 0), PGPRO_EDITION) != 0)
996996
elog(ERROR, "%s was built with Postgres Pro %s %s, "
997-
"but connection made with Postgres Pro %s %s",
997+
"but connection is made with Postgres Pro %s %s",
998998
PROGRAM_NAME, PG_MAJORVERSION, PGPRO_EDITION,
999999
server_version_str, PQgetvalue(res, 0, 0));
10001000
#else
10011001
if (PQresultStatus(res) != PGRES_FATAL_ERROR)
10021002
/* It seems we connected to Postgres Pro (not PostgreSQL) */
10031003
elog(ERROR, "%s was built with PostgreSQL %s, "
1004-
"but connection made with Postgres Pro %s %s",
1004+
"but connection is made with Postgres Pro %s %s",
10051005
PROGRAM_NAME, PG_MAJORVERSION,
10061006
server_version_str, PQgetvalue(res, 0, 0));
10071007
else if (strcmp(server_version_str, PG_MAJORVERSION) != 0)
1008-
elog(ERROR, "%s was built with PostgreSQL %s, but connection made with %s",
1008+
elog(ERROR, "%s was built with PostgreSQL %s, but connection is made with %s",
10091009
PROGRAM_NAME, PG_MAJORVERSION, server_version_str);
10101010
#endif
10111011

0 commit comments

Comments
 (0)