1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

PostgreSQL: Show partitioned tables as tables, not views (bug #1031)

This commit is contained in:
Jakub Vrana
2025-04-13 12:48:40 +02:00
parent 008cd33058
commit a735b795b2
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
## Adminer dev
- PostgreSQL: Show partitioned tables as tables, not views
- Designs: adminer.css with 'prefers-color-scheme: dark' don't disable dark mode
- Plugins: Method bodyClass() to add <body class>

View File

@@ -407,7 +407,7 @@ ORDER BY 1";
foreach (
get_rows("SELECT
c.relname AS \"Name\",
CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS \"Engine\"" . ($has_size ? ",
CASE c.relkind WHEN 'v' THEN 'view' WHEN 'm' THEN 'materialized view' ELSE 'table' END AS \"Engine\"" . ($has_size ? ",
pg_table_size(c.oid) AS \"Data_length\",
pg_indexes_size(c.oid) AS \"Index_length\"" : "") . ",
obj_description(c.oid, 'pg_class') AS \"Comment\",