Schema Diff bug when comparing materialized views with indices: key 'indrelid' needs to be ignored.

This commit is contained in:
John (Haipeng) Jiang authored and GitHub committed 2024-11-14 12:43:33 +05:30
1 parent 849cd65bb7
commit 040e988323
1 file changed
+2 -1
@@ -19,7 +19,8 @@ from pgadmin.tools.schema_diff.node_registry import SchemaDiffRegistry
class SchemaDiffViewCompare(SchemaDiffObjectCompare):
view_keys_to_ignore = ['oid', 'schema', 'xmin', 'oid-2', 'setting']
view_keys_to_ignore = ['oid', 'schema', 'xmin', 'oid-2', 'setting',
'indrelid']
trigger_keys_to_ignore = ['xmin', 'tgrelid', 'tgfoid', 'tfunction',
'tgqual', 'tgconstraint', 'nspname']