mirror of
https://github.com/vrana/adminer.git
synced 2025-08-05 14:17:26 +02:00
PostgreSQL: Show structure of inherited tables
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
## Adminer dev
|
||||
- Allow specifying operator in search anywhere
|
||||
- MySQL 5.0-: Do not load partitioning info in alter table (bug #1099)
|
||||
- PostgreSQL: Show structure of inherited tables
|
||||
- PostgreSQL 11-: Avoid duplicate oid in table status (bug #1089)
|
||||
- Plugins: Methods processList() and killProcess()
|
||||
|
||||
|
@@ -22,6 +22,10 @@ if ($comment != "") {
|
||||
echo "<p class='nowrap'>" . lang('Comment') . ": " . h($comment) . "\n";
|
||||
}
|
||||
|
||||
if ($fields) {
|
||||
adminer()->tableStructurePrint($fields, $table_status);
|
||||
}
|
||||
|
||||
function tables_links($tables) {
|
||||
echo "<ul>\n";
|
||||
foreach ($tables as $table) {
|
||||
@@ -34,8 +38,6 @@ $inherits = driver()->inheritsFrom($TABLE);
|
||||
if ($inherits) {
|
||||
echo "<h3>" . lang('Inherits from') . "</h3>\n";
|
||||
tables_links($inherits);
|
||||
} elseif ($fields) {
|
||||
adminer()->tableStructurePrint($fields, $table_status);
|
||||
}
|
||||
|
||||
if (support("indexes") && driver()->supportsIndex($table_status)) {
|
||||
|
Reference in New Issue
Block a user