mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 02:23:59 +02:00
PostgreSQL: Support indexes on materialized views (PR #467)
This commit is contained in:
@@ -230,6 +230,14 @@ abstract class SqlDriver {
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Check whether table supports indexes
|
||||
* @param array result of table_status()
|
||||
* @return bool
|
||||
*/
|
||||
function supportsIndex($table_status) {
|
||||
return !is_view($table_status);
|
||||
}
|
||||
|
||||
/** Get defined check constraints
|
||||
* @param string
|
||||
* @return array [$name => $clause]
|
||||
|
Reference in New Issue
Block a user