mirror of
https://github.com/vrana/adminer.git
synced 2025-08-05 14:17:26 +02:00
PostgreSQL: Add SQL operator to select
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Warn about exceeded max_file_uploads in import
|
- Warn about exceeded max_file_uploads in import
|
||||||
- MySQL 5.0-: Do not load partitioning info in alter table (bug #1099)
|
- MySQL 5.0-: Do not load partitioning info in alter table (bug #1099)
|
||||||
- PostgreSQL: Show structure of inherited tables
|
- PostgreSQL: Show structure of inherited tables
|
||||||
|
- PostgreSQL: Add SQL operator to select
|
||||||
- PostgreSQL: Hide only partitions, not all inherited tables from menu
|
- PostgreSQL: Hide only partitions, not all inherited tables from menu
|
||||||
- PostgreSQL 11-: Avoid duplicate oid in table status (bug #1089)
|
- PostgreSQL 11-: Avoid duplicate oid in table status (bug #1089)
|
||||||
- Plugins: Methods processList() and killProcess()
|
- Plugins: Methods processList() and killProcess()
|
||||||
|
@@ -204,7 +204,7 @@ if (isset($_GET["pgsql"])) {
|
|||||||
static $extensions = array("PgSQL", "PDO_PgSQL");
|
static $extensions = array("PgSQL", "PDO_PgSQL");
|
||||||
static $jush = "pgsql";
|
static $jush = "pgsql";
|
||||||
|
|
||||||
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 $operators = array("=", "<", ">", "<=", ">=", "!=", "~", "!~", "LIKE", "LIKE %%", "ILIKE", "ILIKE %%", "IN", "IS NULL", "NOT LIKE", "NOT ILIKE", "NOT IN", "IS NOT NULL", "SQL"); //! SQL - same-site CSRF
|
||||||
public $functions = array("char_length", "lower", "round", "to_hex", "to_timestamp", "upper");
|
public $functions = array("char_length", "lower", "round", "to_hex", "to_timestamp", "upper");
|
||||||
public $grouping = array("avg", "count", "count distinct", "max", "min", "sum");
|
public $grouping = array("avg", "count", "count distinct", "max", "min", "sum");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user