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

PostgreSQL: Compute size of all databases (bug #881)

This commit is contained in:
Jakub Vrana
2025-03-04 19:40:30 +01:00
parent e411c229ab
commit 63dd38c44d
2 changed files with 9 additions and 1 deletions

View File

@@ -336,7 +336,14 @@ ORDER BY 1";
}
function count_tables($databases) {
return array(); // would require reconnect
global $connection;
$return = array();
foreach ($databases as $db) {
if ($connection->select_db($db)) {
$return[$db] = count(tables_list());
}
}
return $return;
}
function table_status($name = "") {

View File

@@ -1,6 +1,7 @@
Adminer dev:
Speed up with disabled output buffering
Don't autofocus computed fields in insert form
PostgreSQL: Compute size of all databases (bug #881)
PostgreSQL: Do not alter indexes with expressions
PostgreSQL: Fix export of indexes with expressions (bug #768)
PostgreSQL: Display ENUM types