1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

PostgreSQL: Preserve whitespace in EXPLAIN (bug #827)

This commit is contained in:
Jakub Vrana
2025-02-19 12:51:50 +01:00
parent e5c05fe26c
commit 9261abc415
3 changed files with 3 additions and 1 deletions

View File

@@ -182,7 +182,7 @@ if (!$error && $_POST) {
} }
echo ($warnings ? "<div id='$warnings_id' class='hidden'>\n$warnings</div>\n" : ""); echo ($warnings ? "<div id='$warnings_id' class='hidden'>\n$warnings</div>\n" : "");
if ($explain) { if ($explain) {
echo "<div id='$explain_id' class='hidden'>\n"; echo "<div id='$explain_id' class='hidden explain'>\n";
select($explain, $connection2, $orgtables); select($explain, $connection2, $orgtables);
echo "</div>\n"; echo "</div>\n";
} }

View File

@@ -56,6 +56,7 @@ input.wayoff { left: -1000px; position: absolute; }
.view { font-style: italic; } .view { font-style: italic; }
.active { font-weight: bold; } .active { font-weight: bold; }
.sqlarea { width: 98%; } .sqlarea { width: 98%; }
.explain { white-space: pre; }
.icon { width: 18px; height: 18px; background-color: navy; } .icon { width: 18px; height: 18px; background-color: navy; }
.icon:hover { background-color: red; } .icon:hover { background-color: red; }
.size { width: 6ex; } .size { width: 6ex; }

View File

@@ -1,4 +1,5 @@
Adminer 4.16.0-dev: Adminer 4.16.0-dev:
PostgreSQL: Preserve whitespace in EXPLAIN (bug #827)
Oracle: Include tables granted by other user Oracle: Include tables granted by other user
Adminer 4.15.0: Adminer 4.15.0: