From 8c06d933039e1a9568197eb4cba0796018bce3b7 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Fri, 22 Dec 2023 13:59:51 +0530 Subject: [PATCH] Fixed an issue where an error occurred in the SQL tab when using an extended index(pgroonga). #7002 --- docs/en_US/release_notes_8_2.rst | 1 + .../servers/databases/schemas/tables/indexes/utils.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_8_2.rst b/docs/en_US/release_notes_8_2.rst index e8dfe6c1d..b7abcb17c 100644 --- a/docs/en_US/release_notes_8_2.rst +++ b/docs/en_US/release_notes_8_2.rst @@ -34,5 +34,6 @@ Bug fixes | `Issue #6193 `_ - Fixed an issue where query tool title did not change after "Save As" until any new change is made. | `Issue #6781 `_ - Fixed an issue where export servers was not adding extension if not specified. | `Issue #6815 `_ - Fixed an issue where pgAdmin imports servers to the wrong accounts for the external authentication. + | `Issue #7002 `_ - Fixed an issue where an error occurred in the SQL tab when using an extended index(pgroonga). | `Issue #7061 `_ - Ensure that the 'Dbo' schema is displayed as a regular schema rather than a system catalog schema. | `Issue #7070 `_ - Fixed an issue where pgAgent job schedule dialog is not opening for edit. diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py index 0b7b7e31f..dda62f70e 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py @@ -378,7 +378,8 @@ def get_storage_params(amname): "heap": [], "ivfflat": ['lists'] } - return storage_parameters[amname] + return [] if amname not in storage_parameters else \ + storage_parameters[amname] def _get_column_details_to_update(old_data, data):