mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-24 09:40:21 -06:00
Fixed cannot unpack non-iterable response object error when selecting any partition. Fixes #6344
This commit is contained in:
parent
fb0d8c348a
commit
07f2df7e66
@ -19,4 +19,5 @@ Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #6293 <https://redmine.postgresql.org/issues/6293>`_ - Fixed an issue where the procedure creation is failed when providing the Volatility option.
|
||||
| `Issue #6344 <https://redmine.postgresql.org/issues/6344>`_ - Fixed cannot unpack non-iterable response object error when selecting any partition.
|
||||
| `Issue #6356 <https://redmine.postgresql.org/issues/6356>`_ - Mark the Apache HTTPD config file as such in the web DEB and RPM packages.
|
||||
|
@ -6,14 +6,14 @@ SELECT rel.oid, rel.relname AS name, rel.reltablespace AS spcoid,rel.relacl AS r
|
||||
END) as spcname,
|
||||
(select nspname FROM pg_catalog.pg_namespace WHERE oid = {{scid}}::oid ) as parent_schema,
|
||||
nsp.nspname as schema,
|
||||
pg_get_userbyid(rel.relowner) AS relowner, rel.relispartition,
|
||||
pg_catalog.pg_get_userbyid(rel.relowner) AS relowner, rel.relispartition,
|
||||
rel.relhassubclass, rel.reltuples::bigint, des.description, con.conname, con.conkey,
|
||||
EXISTS(select 1 FROM pg_catalog.pg_trigger
|
||||
JOIN pg_catalog.pg_proc pt ON pt.oid=tgfoid AND pt.proname='logtrigger'
|
||||
JOIN pg_catalog.pg_proc pc ON pc.pronamespace=pt.pronamespace AND pc.proname='slonyversion'
|
||||
WHERE tgrelid=rel.oid) AS isrepl,
|
||||
(SELECT count(*) FROM pg_catalog.pg_trigger WHERE tgrelid=rel.oid AND tgisinternal = FALSE) AS triggercount,
|
||||
(SELECT pg_catalog.ARRAY(SELECT CASE WHEN (nspname NOT LIKE 'pg\_%') THEN
|
||||
(SELECT ARRAY(SELECT CASE WHEN (nspname NOT LIKE 'pg\_%') THEN
|
||||
pg_catalog.quote_ident(nspname)||'.'||pg_catalog.quote_ident(c.relname)
|
||||
ELSE pg_catalog.quote_ident(c.relname) END AS inherited_tables
|
||||
FROM pg_catalog.pg_inherits i
|
||||
|
@ -1,7 +1,7 @@
|
||||
SELECT
|
||||
r.oid, r.*,
|
||||
pg_catalog.shobj_description(r.oid, 'pg_authid') AS description,
|
||||
pg_catalog.ARRAY(
|
||||
ARRAY(
|
||||
SELECT
|
||||
CASE WHEN am.admin_option THEN '1' ELSE '0' END || rm.rolname
|
||||
FROM
|
||||
|
Loading…
Reference in New Issue
Block a user