mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
Hide hidden columns in PostgreSQL (thanks to Pavel Stehule)
This commit is contained in:
@@ -203,7 +203,7 @@ UNION SELECT view_name, 'view' FROM user_views" . ($name != "" ? " WHERE view_na
|
||||
return true;
|
||||
}
|
||||
|
||||
function fields($table, $hidden = false) {
|
||||
function fields($table) {
|
||||
$return = array();
|
||||
foreach (get_rows("SELECT * FROM all_tab_columns WHERE table_name = " . q($table) . " ORDER BY column_id") as $row) {
|
||||
$type = $row["DATA_TYPE"];
|
||||
|
Reference in New Issue
Block a user