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

PostgreSQL: Support index algorithms

This commit is contained in:
salacr
2025-04-16 09:07:53 +02:00
committed by Jakub Vrana
parent 6d6998c3d3
commit 92ce506243
9 changed files with 42 additions and 6 deletions

View File

@@ -360,7 +360,11 @@ class Adminer {
. ($index["descs"][$key] ? " DESC" : "")
;
}
echo "<tr title='" . h($name) . "'><th>$index[type]<td>" . implode(", ", $print) . "\n";
echo "<tr title='" . h($name) . "'>";
echo "<th>$index[type]" . ($index['algorithm'] != first(driver()->indexMethods()) ? " ($index[algorithm])" : "");
echo "<td>" . implode(", ", $print);
echo "\n";
}
echo "</table>\n";
}