diff --git a/docs/en_US/release_notes_6_6.rst b/docs/en_US/release_notes_6_6.rst index 639dfaed8..731ed164f 100644 --- a/docs/en_US/release_notes_6_6.rst +++ b/docs/en_US/release_notes_6_6.rst @@ -23,6 +23,7 @@ Bug fixes | `Issue #6956 `_ - Fixed a schema diff issue in which user mappings were not compared correctly. | `Issue #6991 `_ - Fixed an issue where pgadmin cannot connect to LDAP when STARTTLS is required before bind. | `Issue #6999 `_ - Fixed an issue where a warning is flashed every time for an email address when authentication sources are internal and ldap. +| `Issue #7105 `_ - Fixed an issue where the parent partition table was not displayed during autocomplete. | `Issue #7124 `_ - Fixed the schema diff issue where tables have different column positions and a column has a default value. | `Issue #7152 `_ - Added comments column for the functions collection node. | `Issue #7172 `_ - Allow users to scroll and enter input when there is a validation error. diff --git a/web/pgadmin/misc/templates/sqlautocomplete/sql/default/columns.sql b/web/pgadmin/misc/templates/sqlautocomplete/sql/default/columns.sql index da9153b5e..6a16ec5d6 100644 --- a/web/pgadmin/misc/templates/sqlautocomplete/sql/default/columns.sql +++ b/web/pgadmin/misc/templates/sqlautocomplete/sql/default/columns.sql @@ -15,7 +15,7 @@ FROM pg_catalog.pg_attribute att ON def.adrelid = att.attrelid AND def.adnum = att.attnum WHERE nsp.nspname IN ({{schema_names}}) - AND cls.relkind = ANY(array['r']) + AND cls.relkind = ANY(array['r', 'p']) AND NOT att.attisdropped AND att.attnum > 0 ORDER BY 1, 2, att.attnum diff --git a/web/pgadmin/misc/templates/sqlautocomplete/sql/default/tableview.sql b/web/pgadmin/misc/templates/sqlautocomplete/sql/default/tableview.sql index 395af2e24..e802a058a 100644 --- a/web/pgadmin/misc/templates/sqlautocomplete/sql/default/tableview.sql +++ b/web/pgadmin/misc/templates/sqlautocomplete/sql/default/tableview.sql @@ -4,7 +4,7 @@ SELECT n.nspname schema_name, c.relname object_name FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace - WHERE c.relkind = ANY(array['r']) and n.nspname IN ({{schema_names}}) + WHERE c.relkind = ANY(array['r', 'p']) and n.nspname IN ({{schema_names}}) ORDER BY 1,2 {% endif %} {% if object_name == 'views' %}