From f16b3f9ae2ad70954302899106b9d2e14ad874e5 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 9 May 2022 10:17:32 +0200 Subject: databases/phppgadmin: fix for PHP8 PR: 263759 --- databases/phppgadmin/files/patch-adodb-postgres64.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 databases/phppgadmin/files/patch-adodb-postgres64.inc.php (limited to 'databases/phppgadmin/files/patch-adodb-postgres64.inc.php') diff --git a/databases/phppgadmin/files/patch-adodb-postgres64.inc.php b/databases/phppgadmin/files/patch-adodb-postgres64.inc.php new file mode 100644 index 000000000000..0c62e353ce1a --- /dev/null +++ b/databases/phppgadmin/files/patch-adodb-postgres64.inc.php @@ -0,0 +1,14 @@ +--- libraries/adodb/drivers/adodb-postgres64.inc.php.orig 2020-11-07 06:09:12 UTC ++++ libraries/adodb/drivers/adodb-postgres64.inc.php +@@ -122,6 +122,11 @@ WHERE relkind in ('r','v') AND (c.relname='%s' or c.re + // changes the metaColumnsSQL, adds columns: attnum[6] + } + ++ function __construct() ++ { ++ // changes the metaColumnsSQL, adds columns: attnum[6] ++ } ++ + function ServerInfo() + { + if (isset($this->version)) return $this->version; -- cgit v1.2.3