]> git.joonet.de Git - adminer.git/commitdiff
PostgreSQL 11: Support PROCEDURE
authorJakub Vrana <jakub@vrana.cz>
Wed, 19 Mar 2025 21:43:40 +0000 (22:43 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 19 Mar 2025 21:43:40 +0000 (22:43 +0100)
CHANGELOG.md
adminer/drivers/pgsql.inc.php

index 8b07f90a22dbd115a4e3442892d4cdf9dea1de53..8d0d18c3ceba7119585f8d0401d6fabc7695a88e 100644 (file)
@@ -3,6 +3,7 @@
 - PostgreSQL: Display auto_increment of inserted rows
 - PostgreSQL: Display description of system variables
 - PostgreSQL: Avoid warning about crdb_version (bug #924, regression from 5.0.5)
+- PostgreSQL 11: Support PROCEDURE
 - MS SQL: Fix collation issues when retrieving default values
 - CSS: Sticky table headers (bug #918)
 - CSS: Allow more custom styles with dark mode (bug #925)
index 53d11109897d3b9d26fdada344e3890e21ae56d1..c29c7b31d9f3ed932d413bf854ed95649ebc15a5 100644 (file)
@@ -961,7 +961,7 @@ AND typelem = 0"
 
        function support($feature) {
                global $connection;
-               return preg_match('~^(check|database|table|columns|sql|indexes|descidx|comment|view|' . (min_version(9.3) ? 'materializedview|' : '') . 'scheme|routine|sequence|trigger|type|variables|drop_col'
+               return preg_match('~^(check|database|table|columns|sql|indexes|descidx|comment|view|' . (min_version(9.3) ? 'materializedview|' : '') . 'scheme|' . (min_version(11) ? 'procedure|' : '') . 'routine|sequence|trigger|type|variables|drop_col'
                        . ($connection->cockroach ? '' : '|processlist') // https://github.com/cockroachdb/cockroach/issues/24745
                        . '|kill|dump)$~', $feature)
                ;