Fixed event trigger comparing issue in Schema Diff tool. Fixes #7146

This commit is contained in:
Akshay Joshi
2022-02-01 14:14:18 +05:30
parent aa5b1d50b9
commit fddcbbff67
2 changed files with 2 additions and 1 deletions

View File

@@ -31,3 +31,4 @@ Bug fixes
| `Issue #7127 <https://redmine.postgresql.org/issues/7127>`_ - Added validation for Hostname in the server dialog.
| `Issue #7135 <https://redmine.postgresql.org/issues/7135>`_ - Enforce the minimum Windows version that the installer will run on.
| `Issue #7142 <https://redmine.postgresql.org/issues/7142>`_ - Fixed an issue where a warning message was shown after database creation/modification.
| `Issue #7146 <https://redmine.postgresql.org/issues/7146>`_ - Fixed event trigger comparing issue in Schema Diff tool.

View File

@@ -174,7 +174,7 @@ class EventTriggerView(PGChildNodeView, SchemaDiffObjectCompare):
'fopts': [{'get': 'get_event_funcs'}, {'get': 'get_event_funcs'}]
})
keys_to_ignore = ['oid', 'xmin', 'oid-2', 'eventfuncoid']
keys_to_ignore = ['oid', 'xmin', 'oid-2', 'eventfuncoid', 'schemaoid']
def check_precondition(f):
"""