From 302e1acabdba8e2e8e7ed344a7c2c95880015705 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Thu, 16 Nov 2023 17:49:26 +0530 Subject: [PATCH] Fixed an issue where the data type of the array type was not visible for the column in the Foreign Table dialog. #6962 --- docs/en_US/release_notes_7_9.rst | 1 + .../servers/databases/schemas/foreign_tables/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_7_9.rst b/docs/en_US/release_notes_7_9.rst index 3293c4131..f145ebf7c 100644 --- a/docs/en_US/release_notes_7_9.rst +++ b/docs/en_US/release_notes_7_9.rst @@ -52,3 +52,4 @@ Bug fixes | `Issue #6904 `_ - Fix a crash issue occurring when debugging a function with arguments when using pgAdmin with external config database. | `Issue #6920 `_ - Fix an issue in ERD tool where SQL generated is missing columns for the table. | `Issue #6934 `_ - Clear the password field in the config database on clear saved server password. + | `Issue #6962 `_ - Fixed an issue where the data type of the array type was not visible for the column in the Foreign Table dialog. diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/__init__.py index e058a9c2c..94b7b2b82 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/__init__.py @@ -1422,7 +1422,7 @@ class ForeignTableView(PGChildNodeView, DataTypeReader, for column in cols: edit_type_list = edit_types[column['atttypid']] - edit_type_list.append(column['fulltype']) + edit_type_list.append(column['cltype']) column['edit_types'] = sorted(edit_type_list) column['cltype'] = \ DataTypeReader.parse_type_name(column['cltype'])