-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update views sys.triggers, sys.objects, sys.all_objects to show the c…
…orrect object_id of trigger (#2832) * Update views sys.triggers, sys.objects, sys.all_objects to show the correct object_id of trigger (#2830) Show object_id of pg_trigger instead of pg_proc in the views sys.triggers, sys.events, sys.objects, sys.all_objects etc for triggers. It removes inconsistency of object_id between OBJECT_ID() and SYS views. If the object type is specified as 'p' and it's actually a trigger, then object_id() should return NULL. Issues Resolved: Task: BABEL-5108, BABEL-3927 Signed-off-by: Shalini Lohia [email protected] * Update upgrade script --------- Signed-off-by: Shalini Lohia [email protected] Co-authored-by: Shalini Lohia <[email protected]>
- Loading branch information
1 parent
37a7838
commit 21a50c0
Showing
8 changed files
with
342 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.