diff --git a/adminer/drivers/pgsql.inc.php b/adminer/drivers/pgsql.inc.php index eafce8f8..082bb70a 100644 --- a/adminer/drivers/pgsql.inc.php +++ b/adminer/drivers/pgsql.inc.php @@ -378,7 +378,7 @@ ORDER BY a.attnum" } $row["null"] = !$row["attnotnull"]; $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)) { $row["default"] = ($match[1] == "NULL" ? null : idf_unescape($match[1]) . $match[2]); }