1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

PostgreSQL 11: Support PROCEDURE

This commit is contained in:
Jakub Vrana
2025-03-19 22:43:40 +01:00
parent f2a5d5127a
commit ef4c340cc2
2 changed files with 2 additions and 1 deletions

View 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)

View 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)
;