From 92b7cc912d6fa425484a7342b5835325fbc4917a Mon Sep 17 00:00:00 2001 From: Arthur Zakirov Date: Thu, 2 Aug 2018 13:48:29 +0300 Subject: [PATCH] PGPRO-1290: Fix a typo in check_server_version() --- src/backup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backup.c b/src/backup.c index 09fe7cd6..eb9d4d96 100644 --- a/src/backup.c +++ b/src/backup.c @@ -989,23 +989,23 @@ check_server_version(void) if (PQresultStatus(res) == PGRES_FATAL_ERROR) /* It seems we connected to PostgreSQL (not Postgres Pro) */ elog(ERROR, "%s was built with Postgres Pro %s %s, " - "but connection made with PostgreSQL %s", + "but connection is made with PostgreSQL %s", PROGRAM_NAME, PG_MAJORVERSION, PGPRO_EDITION, server_version_str); else if (strcmp(server_version_str, PG_MAJORVERSION) != 0 && strcmp(PQgetvalue(res, 0, 0), PGPRO_EDITION) != 0) elog(ERROR, "%s was built with Postgres Pro %s %s, " - "but connection made with Postgres Pro %s %s", + "but connection is made with Postgres Pro %s %s", PROGRAM_NAME, PG_MAJORVERSION, PGPRO_EDITION, server_version_str, PQgetvalue(res, 0, 0)); #else if (PQresultStatus(res) != PGRES_FATAL_ERROR) /* It seems we connected to Postgres Pro (not PostgreSQL) */ elog(ERROR, "%s was built with PostgreSQL %s, " - "but connection made with Postgres Pro %s %s", + "but connection is made with Postgres Pro %s %s", PROGRAM_NAME, PG_MAJORVERSION, server_version_str, PQgetvalue(res, 0, 0)); else if (strcmp(server_version_str, PG_MAJORVERSION) != 0) - elog(ERROR, "%s was built with PostgreSQL %s, but connection made with %s", + elog(ERROR, "%s was built with PostgreSQL %s, but connection is made with %s", PROGRAM_NAME, PG_MAJORVERSION, server_version_str); #endif