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

This commit is contained in:
John (Haipeng) Jiang 2024-11-14 02:13:33 -05:00 committed by GitHub
parent 849cd65bb7
commit 040e988323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,8 @@ from pgadmin.tools.schema_diff.node_registry import SchemaDiffRegistry
class SchemaDiffViewCompare(SchemaDiffObjectCompare): 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', trigger_keys_to_ignore = ['xmin', 'tgrelid', 'tgfoid', 'tfunction',
'tgqual', 'tgconstraint', 'nspname'] 'tgqual', 'tgconstraint', 'nspname']