mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where schema diff is showing identical table as different due to default vacuum settings. Fixes #5826
This commit is contained in:
@@ -22,7 +22,8 @@ class SchemaDiffTableCompare(SchemaDiffObjectCompare):
|
||||
table_keys_to_ignore = ['oid', 'schema', 'edit_types', 'attnum',
|
||||
'col_type', 'references', 'reltuples', 'oid-2',
|
||||
'rows_cnt', 'seqrelid', 'atttypid', 'elemoid',
|
||||
'hastoasttable', 'relhassubclass', 'relacl_str']
|
||||
'hastoasttable', 'relhassubclass', 'relacl_str',
|
||||
'setting']
|
||||
|
||||
constraint_keys_to_ignore = ['relname', 'nspname', 'parent_tbl',
|
||||
'attrelid', 'adrelid', 'fknsp', 'confrelid',
|
||||
|
||||
@@ -351,7 +351,7 @@ class ViewNode(PGChildNodeView, VacuumSettings, SchemaDiffObjectCompare):
|
||||
{'get': 'get_toast_table_vacuum'}]
|
||||
})
|
||||
|
||||
keys_to_ignore = ['oid', 'schema', 'xmin', 'oid-2']
|
||||
keys_to_ignore = ['oid', 'schema', 'xmin', 'oid-2', 'setting']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user