mirror of
https://github.com/vrana/adminer.git
synced 2025-08-29 17:19:52 +02:00
PostreSQL: Fix search fields configuration
Regression from 4.9.
This commit is contained in:
@@ -378,7 +378,7 @@ ORDER BY a.attnum"
|
|||||||
}
|
}
|
||||||
$row["null"] = !$row["attnotnull"];
|
$row["null"] = !$row["attnotnull"];
|
||||||
$row["auto_increment"] = $row['attidentity'] || preg_match('~^nextval\(~i', $row["default"]);
|
$row["auto_increment"] = $row['attidentity'] || preg_match('~^nextval\(~i', $row["default"]);
|
||||||
$row["privileges"] = array("insert" => 1, "select" => 1, "update" => 1);
|
$row["privileges"] = array("insert" => 1, "select" => 1, "update" => 1, "where" => 1, "order" => 1);
|
||||||
if (preg_match('~(.+)::[^,)]+(.*)~', $row["default"], $match)) {
|
if (preg_match('~(.+)::[^,)]+(.*)~', $row["default"], $match)) {
|
||||||
$row["default"] = ($match[1] == "NULL" ? null : idf_unescape($match[1]) . $match[2]);
|
$row["default"] = ($match[1] == "NULL" ? null : idf_unescape($match[1]) . $match[2]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user