mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-25 08:21:04 -06:00
Fixed an issue where Columns with default value not showing when adding a new row. Fixes #7034
This commit is contained in:
parent
92a997b16a
commit
9754b0fe14
@ -11,6 +11,7 @@ notes for it.
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
release_notes_6_4
|
||||
release_notes_6_3
|
||||
release_notes_6_2
|
||||
release_notes_6_1
|
||||
|
20
docs/en_US/release_notes_6_4.rst
Normal file
20
docs/en_US/release_notes_6_4.rst
Normal file
@ -0,0 +1,20 @@
|
||||
************
|
||||
Version 6.4
|
||||
************
|
||||
|
||||
Release date: 2021-01-13
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin4 6.3.
|
||||
|
||||
New features
|
||||
************
|
||||
|
||||
|
||||
Housekeeping
|
||||
************
|
||||
|
||||
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #7034 <https://redmine.postgresql.org/issues/7034>`_ - Fixed an issue where Columns with default value not showing when adding a new row.
|
@ -52,7 +52,11 @@ def get_columns_types(is_query_tool, columns_info, table_oid, conn, has_oids):
|
||||
col['has_default_val'] = row['has_default_val']
|
||||
|
||||
else:
|
||||
col_type['not_null'] = col['not_null'] = None
|
||||
col_type['has_default_val'] = col['has_default_val'] = None
|
||||
col_type['not_null'] = col['not_null'] = \
|
||||
rset['rows'][key]['not_null']
|
||||
|
||||
col_type['has_default_val'] = \
|
||||
col['has_default_val'] = \
|
||||
rset['rows'][key]['has_default_val']
|
||||
|
||||
return column_types
|
||||
|
Loading…
Reference in New Issue
Block a user