mirror of
https://github.com/vrana/adminer.git
synced 2025-08-29 01:00:07 +02:00
User types support for PostgreSQL
This commit is contained in:
@@ -777,6 +777,13 @@ if (!defined("DRIVER")) {
|
||||
return $connection->query("EXPLAIN $query");
|
||||
}
|
||||
|
||||
/** Get user defined types
|
||||
* @return array
|
||||
*/
|
||||
function types() {
|
||||
return array();
|
||||
}
|
||||
|
||||
/** Get existing schemas
|
||||
* @return array
|
||||
*/
|
||||
@@ -854,7 +861,7 @@ if (!defined("DRIVER")) {
|
||||
*/
|
||||
function support($feature) {
|
||||
global $connection;
|
||||
return !ereg("scheme|sequence" . ($connection->server_info < 5.1 ? "|event|partitioning" . ($connection->server_info < 5 ? "|view|routine|trigger" : "") : ""), $feature);
|
||||
return !ereg("scheme|sequence|type" . ($connection->server_info < 5.1 ? "|event|partitioning" . ($connection->server_info < 5 ? "|view|routine|trigger" : "") : ""), $feature);
|
||||
}
|
||||
|
||||
$jush = "sql"; ///< @var string JUSH identifier
|
||||
|
Reference in New Issue
Block a user