From bccdb131ee747092360f241421eebd5c9432b84c Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Thu, 6 Jul 2023 12:58:06 +0530 Subject: [PATCH] Fixed an issue where Partitions are not visible in EPAS Servers. --- .../tables/templates/partitions/sql/ppas/default/nodes.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/partitions/sql/ppas/default/nodes.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/partitions/sql/ppas/default/nodes.sql index 9e60f9f86..2c2159738 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/partitions/sql/ppas/default/nodes.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/partitions/sql/ppas/default/nodes.sql @@ -36,7 +36,7 @@ SELECT rel.oid, rel.relname AS name, substring(pg_catalog.array_to_string(tst.reloptions, ',') FROM 'autovacuum_freeze_max_age=([0-9]*)') AS toast_autovacuum_freeze_max_age, substring(pg_catalog.array_to_string(tst.reloptions, ',') FROM 'autovacuum_freeze_table_age=([0-9]*)') AS toast_autovacuum_freeze_table_age, rel.reloptions AS reloptions, tst.reloptions AS toast_reloptions, rel.reloftype, typ.typname, - typ.typrelid AS typoid, des.description, pg_catalog.pg_get_userbyid(rel.relowner) AS relowner + typ.typrelid AS typoid, des.description, pg_catalog.pg_get_userbyid(rel.relowner) AS relowner, inh.inhdetachpending FROM (SELECT * FROM pg_catalog.pg_inherits WHERE inhparent = {{ tid }}::oid) inh LEFT JOIN pg_catalog.pg_class rel ON inh.inhrelid = rel.oid