summaryrefslogtreecommitdiff
path: root/databases/phppgadmin/files/patch-adodb-postgres64.inc.php
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2022-05-09 10:17:32 +0200
committerDirk Meyer <dinoex@FreeBSD.org>2022-05-09 10:17:32 +0200
commitf16b3f9ae2ad70954302899106b9d2e14ad874e5 (patch)
treea582329a22d482b5f097f98b214bbd5ee20c1471 /databases/phppgadmin/files/patch-adodb-postgres64.inc.php
parentsysutils/gomplate: Update to 3.10.0 (diff)
databases/phppgadmin: fix for PHP8
PR: 263759
Diffstat (limited to '')
-rw-r--r--databases/phppgadmin/files/patch-adodb-postgres64.inc.php14
1 files changed, 14 insertions, 0 deletions
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;