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

PostgreSQL: Allow changing materialized views

This commit is contained in:
Jakub Vrana
2017-02-20 12:13:09 +01:00
parent 6ee4692afd
commit a01ca3ade4
13 changed files with 24 additions and 35 deletions

View File

@@ -6,7 +6,7 @@ if (!$fields) {
}
$table_status = table_status1($TABLE, true);
page_header(($fields && is_view($table_status) ? lang('View') : lang('Table')) . ": " . h($TABLE), $error);
page_header(($fields && is_view($table_status) ? $table_status['Engine'] == 'materialized view' ? lang('Materialized view') : lang('View') : lang('Table')) . ": " . h($TABLE), $error);
$adminer->selectLinks($table_status);
$comment = $table_status["Comment"];