mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-07 22:53:45 -06:00
Fixed an error-'amname' when generating ERD for database containing parition tables. #7064
This commit is contained in:
parent
ec12dc5288
commit
01a118d495
@ -35,5 +35,8 @@ Bug fixes
|
||||
| `Issue #6781 <https://github.com/pgadmin-org/pgadmin4/issues/6781>`_ - Fixed an issue where export servers was not adding extension if not specified.
|
||||
| `Issue #6815 <https://github.com/pgadmin-org/pgadmin4/issues/6815>`_ - Fixed an issue where pgAdmin imports servers to the wrong accounts for the external authentication.
|
||||
| `Issue #7002 <https://github.com/pgadmin-org/pgadmin4/issues/7002>`_ - Fixed an issue where an error occurred in the SQL tab when using an extended index(pgroonga).
|
||||
| `Issue #7041 <https://github.com/pgadmin-org/pgadmin4/issues/7041>`_ - Fixed an issue where changes done to a node using edit dialog are not reflecting on the properties tab if the properties tab is active.
|
||||
| `Issue #7061 <https://github.com/pgadmin-org/pgadmin4/issues/7061>`_ - Ensure that the 'Dbo' schema is displayed as a regular schema rather than a system catalog schema.
|
||||
| `Issue #7064 <https://github.com/pgadmin-org/pgadmin4/issues/7064>`_ - Fixed an error-'amname' when generating ERD for database containing parition tables.
|
||||
| `Issue #7066 <https://github.com/pgadmin-org/pgadmin4/issues/7066>`_ - Fixed an issue where object explorer last tree state was not saving.
|
||||
| `Issue #7070 <https://github.com/pgadmin-org/pgadmin4/issues/7070>`_ - Fixed an issue where pgAgent job schedule dialog is not opening for edit.
|
||||
|
@ -1832,7 +1832,7 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
|
||||
'is_default': is_default,
|
||||
'is_sub_partitioned': row['is_sub_partitioned'],
|
||||
'sub_partition_scheme': row['sub_partition_scheme'],
|
||||
'amname': row['amname']
|
||||
'amname': row.get('amname', '')
|
||||
})
|
||||
elif data['partition_type'] == 'list':
|
||||
if row['partition_value'] == 'DEFAULT':
|
||||
@ -1851,7 +1851,7 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
|
||||
'is_default': is_default,
|
||||
'is_sub_partitioned': row['is_sub_partitioned'],
|
||||
'sub_partition_scheme': row['sub_partition_scheme'],
|
||||
'amname': row['amname']
|
||||
'amname': row.get('amname', '')
|
||||
})
|
||||
else:
|
||||
range_part = row['partition_value'].split(
|
||||
@ -1868,7 +1868,7 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
|
||||
'values_remainder': range_remainder,
|
||||
'is_sub_partitioned': row['is_sub_partitioned'],
|
||||
'sub_partition_scheme': row['sub_partition_scheme'],
|
||||
'amname': row['amname']
|
||||
'amname': row.get('amname', '')
|
||||
})
|
||||
|
||||
def get_partitions_sql(self, partitions, schema_diff=False):
|
||||
|
Loading…
Reference in New Issue
Block a user