1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-24 15:12:51 +02:00

Save bytes

This commit is contained in:
Jakub Vrana
2021-02-12 16:08:40 +01:00
parent 3a36112a10
commit ff45b8f7a9
4 changed files with 22 additions and 18 deletions

View File

@@ -304,7 +304,7 @@ if (isset($_GET["pgsql"])) {
function tables_list() {
$query = "SELECT table_name, table_type FROM information_schema.tables WHERE table_schema = current_schema()";
if (support('materializedview')) {
if (support('materializedview')) { // ' - support("materializedview") could be removed by compile.php
$query .= "
UNION ALL
SELECT matviewname, 'MATERIALIZED VIEW'