Fixed an issue when comparing the table with a trigger throwing error in schema diff. Fixes #5710

This commit is contained in:
Akshay Joshi 2020-07-30 13:57:00 +05:30
parent 89fa85d650
commit dd7eb54e90
4 changed files with 5 additions and 4 deletions

View File

@ -26,4 +26,5 @@ Bug fixes
| `Issue #5490 <https://redmine.postgresql.org/issues/5490>`_ - Make the runtime configuration dialog non-modal.
| `Issue #5632 <https://redmine.postgresql.org/issues/5632>`_ - Ensure that the user will be able to modify the start value of the Identity column.
| `Issue #5646 <https://redmine.postgresql.org/issues/5646>`_ - Ensure that RLS Policy node should be searchable using search object.
| `Issue #5708 <https://redmine.postgresql.org/issues/5708>`_ - Correct TLS certificate filename in the container deployment docs.
| `Issue #5708 <https://redmine.postgresql.org/issues/5708>`_ - Correct TLS certificate filename in the container deployment docs.
| `Issue #5710 <https://redmine.postgresql.org/issues/5710>`_ - Fixed an issue when comparing the table with a trigger throwing error in schema diff.

View File

@ -884,7 +884,7 @@ class CompoundTriggerView(PGChildNodeView, SchemaDiffObjectCompare):
sid = kwargs.get('sid')
did = kwargs.get('did')
scid = kwargs.get('scid')
tid = kwargs.get('oid')
tid = kwargs.get('tid')
oid = kwargs.get('oid')
data = kwargs.get('data', None)
diff_schema = kwargs.get('diff_schema', None)

View File

@ -528,7 +528,7 @@ class RuleView(PGChildNodeView, SchemaDiffObjectCompare):
sid = kwargs.get('sid')
did = kwargs.get('did')
scid = kwargs.get('scid')
tid = kwargs.get('oid')
tid = kwargs.get('tid')
oid = kwargs.get('oid')
data = kwargs.get('data', None)
source_schema = kwargs.get('source_schema', None)

View File

@ -802,7 +802,7 @@ class TriggerView(PGChildNodeView, SchemaDiffObjectCompare):
sid = kwargs.get('sid')
did = kwargs.get('did')
scid = kwargs.get('scid')
tid = kwargs.get('oid')
tid = kwargs.get('tid')
oid = kwargs.get('oid')
data = kwargs.get('data', None)
diff_schema = kwargs.get('diff_schema', None)