]> git.joonet.de Git - adminer.git/commitdiff
PostgreSQL: Add NOT ILIKE operator (fix #1066)
authorJakub Vrana <jakub@vrana.cz>
Sun, 4 May 2025 10:46:01 +0000 (12:46 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sun, 4 May 2025 11:03:47 +0000 (13:03 +0200)
CHANGELOG.md
adminer/drivers/pgsql.inc.php

index f7799b555242d4f8ed9095024bf0c65587835eb0..8ff8837566ed4a3cbd410a7182254bc2f8d7d300 100644 (file)
@@ -11,6 +11,7 @@
 - PostgreSQL: Move partitioned tables from table list to parent table
 - PostgreSQL: Support partial indices (bug #1048)
 - PostgreSQL: Support calling functions returning table (bug #1040)
+- PostgreSQL: Add NOT ILIKE operator (bug #1066)
 - Designs: adminer.css with 'prefers-color-scheme: dark' doesn't disable dark mode
 - Plugins: Method bodyClass() to add &lt;body class>
 - Plugins: Allow setting dark mode in css()
index d6aae369c9bb89bf43a8f7a6f34e77806ea0cac4..0699858b25a9bbe1e4dc54d1432848ca3e30f26a 100644 (file)
@@ -204,7 +204,7 @@ if (isset($_GET["pgsql"])) {
                static $extensions = array("PgSQL", "PDO_PgSQL");
                static $jush = "pgsql";
 
-               public $operators = array("=", "<", ">", "<=", ">=", "!=", "~", "!~", "LIKE", "LIKE %%", "ILIKE", "ILIKE %%", "IN", "IS NULL", "NOT LIKE", "NOT IN", "IS NOT NULL"); // no "SQL" to avoid CSRF
+               public $operators = array("=", "<", ">", "<=", ">=", "!=", "~", "!~", "LIKE", "LIKE %%", "ILIKE", "ILIKE %%", "IN", "IS NULL", "NOT LIKE", "NOT ILIKE", "NOT IN", "IS NOT NULL"); // no "SQL" to avoid CSRF
                public $functions = array("char_length", "lower", "round", "to_hex", "to_timestamp", "upper");
                public $grouping = array("avg", "count", "count distinct", "max", "min", "sum");