From ee6860f054a8d0fc365e869c6188c0da831ea5dd Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Wed, 27 Feb 2019 19:16:25 +0300 Subject: [PATCH] minor fix: use upper register for SQL --- src/backup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backup.c b/src/backup.c index c9a4225a..36ff52eb 100644 --- a/src/backup.c +++ b/src/backup.c @@ -1291,7 +1291,7 @@ pg_ptrack_enable(void) { PGresult *res_db; - res_db = pgut_execute(backup_conn, "show ptrack_enable", 0, NULL); + res_db = pgut_execute(backup_conn, "SHOW ptrack_enable", 0, NULL); if (strcmp(PQgetvalue(res_db, 0, 0), "on") != 0) { @@ -1308,7 +1308,7 @@ pg_checksum_enable(void) { PGresult *res_db; - res_db = pgut_execute(backup_conn, "show data_checksums", 0, NULL); + res_db = pgut_execute(backup_conn, "SHOW data_checksums", 0, NULL); if (strcmp(PQgetvalue(res_db, 0, 0), "on") != 0) {