mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 02:54:28 +02:00
Fix table dependency on export
This commit is contained in:
@@ -248,7 +248,7 @@ ORDER BY 1";
|
|||||||
FROM pg_class c
|
FROM pg_class c
|
||||||
JOIN pg_namespace n ON(n.nspname = current_schema() AND n.oid = c.relnamespace)
|
JOIN pg_namespace n ON(n.nspname = current_schema() AND n.oid = c.relnamespace)
|
||||||
WHERE relkind IN ('r', 'm', 'v')
|
WHERE relkind IN ('r', 'm', 'v')
|
||||||
" . ($name != "" ? "AND relname = " . q($name) : "ORDER BY relname")
|
" . ($name != "" ? "AND relname = " . q($name) : "ORDER BY c.oid")
|
||||||
) as $row) { //! Index_length, Auto_increment
|
) as $row) { //! Index_length, Auto_increment
|
||||||
$return[$row["Name"]] = $row;
|
$return[$row["Name"]] = $row;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user