]> git.joonet.de Git - adminer.git/commitdiff
PostgreSQL: Display warnings
authorJakub Vrana <jakub@vrana.cz>
Thu, 1 Feb 2018 10:50:15 +0000 (11:50 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 1 Feb 2018 10:50:15 +0000 (11:50 +0100)
adminer/drivers/pgsql.inc.php
changes.txt

index 19cc1959de8742b7a336b917c0709aa56442c8dd..0768acc3d55daafb90047fa1921ca7bcb139e99f 100644 (file)
@@ -173,6 +173,10 @@ if (isset($_GET["pgsql"])) {
                        return true;
                }
 
+               function warnings() {
+                       return h(pg_last_notice($this->_conn->_link));
+               }
+
        }
 
 
index 9e46a6cf42cf1d1532b0710d50e17c4796e0af4e..eb7a328f365eee5225dea4c6c5594e1816c11183 100644 (file)
@@ -4,7 +4,7 @@ PHP <5.3 compatibility even with Elasticsearch enabled
 Fully support functions in default values
 Stop redirecting links via adminer.org
 Support X-Forwarded-Prefix
-MySQL: Display warnings
+MySQL, PostgreSQL: Display warnings
 MariaDB: Support JSON since MariaDB 10.2
 PostgreSQL: Support functions
 PostgreSQL: Allow editing views with uppercase letters (bug #467)