From 7e09fbd59a99d7754ed44aa0fdabcae7c84843d8 Mon Sep 17 00:00:00 2001
From: "Stephen R. van den Berg" <srb@cuci.nl>
Date: Tue, 19 May 2020 02:41:56 +0200
Subject: [PATCH] pgsql: Use sql_result instead of Result.

---
 lib/modules/Sql.pmod/pgsql.pike | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/modules/Sql.pmod/pgsql.pike b/lib/modules/Sql.pmod/pgsql.pike
index 4f983a18af..8941eecc63 100644
--- a/lib/modules/Sql.pmod/pgsql.pike
+++ b/lib/modules/Sql.pmod/pgsql.pike
@@ -501,7 +501,7 @@ protected void destroy() {
   resync();
 }
 
-private .pgsql_util.Result textquery(string q) {
+private .pgsql_util.sql_result textquery(string q) {
   return big_query(q, (["_text":1]));
 }
 
@@ -514,7 +514,7 @@ private void reset_dbsession() {
   mixed err = catch {
     proxy.statementsinflight->wait_till_drained();
     error(1);
-    .pgsql_util.Result res
+    .pgsql_util.sql_result res
      = textquery("ROLLBACK;RESET ALL;CLOSE ALL;DISCARD TEMP");
     while (res->fetch_row());
   };
-- 
GitLab