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

Fast number of rows with big tables in PostgreSQL (thanks to juzna)

This commit is contained in:
Jakub Vrana
2011-07-29 17:08:06 +02:00
parent 2e1d38a920
commit c82829942c
7 changed files with 36 additions and 2 deletions

View File

@@ -490,6 +490,10 @@ WHERE OBJECT_NAME(i.object_id) = " . q($table)
return $return;
}
function found_rows($table_status, $where) {
return false;
}
function foreign_keys($table) {
$return = array();
foreach (get_rows("EXEC sp_fkeys @fktable_name = " . q($table)) as $row) {