}
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 = "") {
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