From 78f0c9c4a553acac596c49415ce1edd1cd5ebeb0 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Wed, 2 Feb 2022 11:25:07 +0530 Subject: [PATCH] =?UTF-8?q?Ensure=20that=20owner=20should=20be=20ignored?= =?UTF-8?q?=C2=A0while=20comparing=20extensions.=20Fixes=20#7145?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en_US/release_notes_6_5.rst | 1 + .../server_groups/servers/databases/extensions/__init__.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/en_US/release_notes_6_5.rst b/docs/en_US/release_notes_6_5.rst index 5cb885d68..95b01df88 100644 --- a/docs/en_US/release_notes_6_5.rst +++ b/docs/en_US/release_notes_6_5.rst @@ -31,4 +31,5 @@ Bug fixes | `Issue #7127 `_ - Added validation for Hostname in the server dialog. | `Issue #7135 `_ - Enforce the minimum Windows version that the installer will run on. | `Issue #7142 `_ - Fixed an issue where a warning message was shown after database creation/modification. +| `Issue #7145 `_ - Ensure that owner should be ignored while comparing extensions. | `Issue #7146 `_ - Fixed event trigger comparing issue in Schema Diff tool. diff --git a/web/pgadmin/browser/server_groups/servers/databases/extensions/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/extensions/__init__.py index 0e9f47b32..72981a9f4 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/extensions/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/databases/extensions/__init__.py @@ -120,6 +120,8 @@ class ExtensionView(PGChildNodeView, SchemaDiffObjectCompare): 'children': [{'get': 'children'}] }) + keys_to_ignore = ['oid', 'oid-2', 'owner'] + def check_precondition(f): """ This function will behave as a decorator which will checks