PostgreSQL: Move partitioned tables from table list to parent table (bug #1031)

This commit is contained in:
Jakub Vrana
2025-04-13 14:05:40 +02:00
parent a735b795b2
commit a9bcde334f
6 changed files with 33 additions and 3 deletions

View File

@@ -95,3 +95,13 @@ if (support(is_view($table_status) ? "view_trigger" : "trigger")) {
}
echo '<p class="links"><a href="' . h(ME) . 'trigger=' . urlencode($TABLE) . '">' . lang('Add trigger') . "</a>\n";
}
$inherited = driver()->inheritedTables($TABLE);
if ($inherited) {
echo "<h3 id='inherited'>" . lang('Inherited tables') . "</h3>\n";
echo "<ul>\n";
foreach ($inherited as $val) {
echo "<li><a href='" . h(ME . "table=" . urlencode($val)) . "'>" . h($val) . "</a>\n";
}
echo "</ul>\n";
}