PostgreSQL: Fix help link to pg_catalog views

This commit is contained in:
Jakub Vrana
2025-02-26 19:21:13 +01:00
parent 4b47326ffa
commit ba70be12a4
5 changed files with 10 additions and 7 deletions

View File

@@ -238,10 +238,10 @@ if (isset($_GET["pgsql"])) {
return $this->_conn->warnings();
}
function tableHelp($name) {
function tableHelp($name, $is_view = false) {
$links = array(
"information_schema" => "infoschema",
"pg_catalog" => "catalog",
"pg_catalog" => ($is_view ? "view" : "catalog"),
);
$link = $links[$_GET["ns"]];
if ($link) {