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

Hide hidden columns in PostgreSQL (thanks to Pavel Stehule)

This commit is contained in:
Jakub Vrana
2010-11-11 10:47:32 +01:00
parent 540de0b7c9
commit f4256013a9
6 changed files with 8 additions and 9 deletions

View File

@@ -306,7 +306,7 @@ if (isset($_GET["mssql"])) {
return true;
}
function fields($table, $hidden = false) {
function fields($table) {
$return = array();
foreach (get_rows("SELECT c.*, t.name type, d.definition [default]
FROM sys.all_columns c