Ensure that owner should be ignored while comparing extensions. Fixes #7145

This commit is contained in:
Akshay Joshi 2022-02-02 11:25:07 +05:30
parent c2d9219add
commit 78f0c9c4a5
2 changed files with 3 additions and 0 deletions

View File

@ -31,4 +31,5 @@ Bug fixes
| `Issue #7127 <https://redmine.postgresql.org/issues/7127>`_ - Added validation for Hostname in the server dialog. | `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 #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 #7142 <https://redmine.postgresql.org/issues/7142>`_ - Fixed an issue where a warning message was shown after database creation/modification.
| `Issue #7145 <https://redmine.postgresql.org/issues/7145>`_ - Ensure that owner should be ignored while comparing extensions.
| `Issue #7146 <https://redmine.postgresql.org/issues/7146>`_ - Fixed event trigger comparing issue in Schema Diff tool. | `Issue #7146 <https://redmine.postgresql.org/issues/7146>`_ - Fixed event trigger comparing issue in Schema Diff tool.

View File

@ -120,6 +120,8 @@ class ExtensionView(PGChildNodeView, SchemaDiffObjectCompare):
'children': [{'get': 'children'}] 'children': [{'get': 'children'}]
}) })
keys_to_ignore = ['oid', 'oid-2', 'owner']
def check_precondition(f): def check_precondition(f):
""" """
This function will behave as a decorator which will checks This function will behave as a decorator which will checks