mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
PostgreSQL: Show partitioned tables as tables, not views (bug #1031)
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
## Adminer dev
|
## Adminer dev
|
||||||
|
- PostgreSQL: Show partitioned tables as tables, not views
|
||||||
- Designs: adminer.css with 'prefers-color-scheme: dark' don't disable dark mode
|
- Designs: adminer.css with 'prefers-color-scheme: dark' don't disable dark mode
|
||||||
- Plugins: Method bodyClass() to add <body class>
|
- Plugins: Method bodyClass() to add <body class>
|
||||||
|
|
||||||
|
@@ -407,7 +407,7 @@ ORDER BY 1";
|
|||||||
foreach (
|
foreach (
|
||||||
get_rows("SELECT
|
get_rows("SELECT
|
||||||
c.relname AS \"Name\",
|
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_table_size(c.oid) AS \"Data_length\",
|
||||||
pg_indexes_size(c.oid) AS \"Index_length\"" : "") . ",
|
pg_indexes_size(c.oid) AS \"Index_length\"" : "") . ",
|
||||||
obj_description(c.oid, 'pg_class') AS \"Comment\",
|
obj_description(c.oid, 'pg_class') AS \"Comment\",
|
||||||
|
Reference in New Issue
Block a user