Fixed an issue when a table has a column with an array type with length or

precision, the column type is not selected while editing the table. Fixes #7408
This commit is contained in:
Khushboo Vashi
2022-05-25 17:49:06 +05:30
committed by Akshay Joshi
parent 37b19e0be2
commit 955bb22cd1
3 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ def column_formatter(conn, tid, clid, data, edit_types_list=None,
edit_types_list = [row['typname'] for row in rset['rows']]
# We will need present type in edit mode
edit_types_list.append(data['cltype'])
edit_types_list.append(data['typname'])
data['edit_types'] = sorted(edit_types_list)
data['cltype'] = DataTypeReader.parse_type_name(data['cltype'])

View File

@@ -1,5 +1,4 @@
/////////////////////////////////////////////////////////////
//234567890
// pgAdmin 4 - PostgreSQL Tools
//
// Copyright (C) 2013 - 2022, The pgAdmin Development Team