Ensure that If the trigger function definition is changed, drop and recreate the trigger in the schema diff. Fixes #7630

This commit is contained in:
Akshay Joshi 2022-08-22 11:56:11 +05:30
parent 8ca8cb9409
commit 56e2c9db97
2 changed files with 2 additions and 2 deletions

View File

@ -46,3 +46,4 @@ Bug fixes
| `Issue #7616 <https://redmine.postgresql.org/issues/7616>`_ - Ensure that the next button should be disabled if the password did not match for Azure deployment.
| `Issue #7617 <https://redmine.postgresql.org/issues/7617>`_ - Fixed an issue where Azure cloud deployment failed.
| `Issue #7625 <https://redmine.postgresql.org/issues/7625>`_ - Fixed Spanish translations typo.
| `Issue #7630 <https://redmine.postgresql.org/issues/7630>`_ - Ensure that If the trigger function definition is changed, drop and recreate the trigger in the schema diff.

View File

@ -244,8 +244,7 @@ class TriggerView(PGChildNodeView, SchemaDiffObjectCompare):
})
# Schema Diff: Keys to ignore while comparing
keys_to_ignore = ['oid', 'xmin', 'nspname', 'tgrelid', 'tgfoid', 'prosrc',
'oid-2']
keys_to_ignore = ['oid', 'xmin', 'nspname', 'tgrelid', 'tgfoid', 'oid-2']
def check_precondition(f):
"""