mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where comments on indexes are not displayed. Fixes #7508
This commit is contained in:
parent
1fecf70123
commit
9468c80a78
@ -24,6 +24,7 @@ Bug fixes
|
|||||||
*********
|
*********
|
||||||
|
|
||||||
| `Issue #7471 <https://redmine.postgresql.org/issues/7471>`_ - Ensure that the splash screen can be moved.
|
| `Issue #7471 <https://redmine.postgresql.org/issues/7471>`_ - Ensure that the splash screen can be moved.
|
||||||
|
| `Issue #7508 <https://redmine.postgresql.org/issues/7508>`_ - Fixed an issue where comments on indexes are not displayed.
|
||||||
| `Issue #7517 <https://redmine.postgresql.org/issues/7517>`_ - Enable the start debugging button once execution is completed.
|
| `Issue #7517 <https://redmine.postgresql.org/issues/7517>`_ - Enable the start debugging button once execution is completed.
|
||||||
| `Issue #7518 <https://redmine.postgresql.org/issues/7518>`_ - Ensure that dashboard graph API is not called after the panel has been closed.
|
| `Issue #7518 <https://redmine.postgresql.org/issues/7518>`_ - Ensure that dashboard graph API is not called after the panel has been closed.
|
||||||
| `Issue #7519 <https://redmine.postgresql.org/issues/7519>`_ - Ensure that geometry should be shown for all the selected cells.
|
| `Issue #7519 <https://redmine.postgresql.org/issues/7519>`_ - Ensure that geometry should be shown for all the selected cells.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
SELECT DISTINCT ON(cls.relname) cls.oid, cls.relname as name,
|
SELECT DISTINCT ON(cls.relname) cls.oid, cls.relname as name,
|
||||||
(SELECT (CASE WHEN count(i.inhrelid) > 0 THEN true ELSE false END) FROM pg_inherits i WHERE i.inhrelid = cls.oid) as is_inherited
|
(SELECT (CASE WHEN count(i.inhrelid) > 0 THEN true ELSE false END) FROM pg_inherits i WHERE i.inhrelid = cls.oid) as is_inherited,
|
||||||
|
CASE WHEN contype IN ('p', 'u', 'x') THEN desp.description ELSE des.description END AS description
|
||||||
FROM pg_catalog.pg_index idx
|
FROM pg_catalog.pg_index idx
|
||||||
JOIN pg_catalog.pg_class cls ON cls.oid=indexrelid
|
JOIN pg_catalog.pg_class cls ON cls.oid=indexrelid
|
||||||
JOIN pg_catalog.pg_class tab ON tab.oid=indrelid
|
JOIN pg_catalog.pg_class tab ON tab.oid=indrelid
|
||||||
@ -8,6 +9,8 @@ FROM pg_catalog.pg_index idx
|
|||||||
JOIN pg_catalog.pg_am am ON am.oid=cls.relam
|
JOIN pg_catalog.pg_am am ON am.oid=cls.relam
|
||||||
LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid=(SELECT oid FROM pg_catalog.pg_class WHERE relname='pg_constraint') AND dep.deptype='i')
|
LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid=(SELECT oid FROM pg_catalog.pg_class WHERE relname='pg_constraint') AND dep.deptype='i')
|
||||||
LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid)
|
LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid)
|
||||||
|
LEFT OUTER JOIN pg_catalog.pg_description des ON (des.objoid=cls.oid AND des.classoid='pg_class'::regclass)
|
||||||
|
LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid=con.oid AND desp.objsubid = 0 AND desp.classoid='pg_constraint'::regclass)
|
||||||
WHERE indrelid = {{tid}}::OID
|
WHERE indrelid = {{tid}}::OID
|
||||||
AND conname is NULL
|
AND conname is NULL
|
||||||
{% if idx %}
|
{% if idx %}
|
||||||
|
Loading…
Reference in New Issue
Block a user