From e589c80f429a6527612ac5925388719e5b8d346c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 3 Jun 2025 14:33:30 +0200 Subject: [PATCH] PostgreSQL: Show structure of inherited tables --- CHANGELOG.md | 1 + adminer/table.inc.php | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31948b9d..1ffdf9c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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() diff --git a/adminer/table.inc.php b/adminer/table.inc.php index 66f6cfe0..56fe7c34 100644 --- a/adminer/table.inc.php +++ b/adminer/table.inc.php @@ -22,6 +22,10 @@ if ($comment != "") { echo "

" . lang('Comment') . ": " . h($comment) . "\n"; } +if ($fields) { + adminer()->tableStructurePrint($fields, $table_status); +} + function tables_links($tables) { echo "