Inline edbspl trigger functions should not be visible in Grant Wizard. Fixes #3740

This commit is contained in:
Akshay Joshi 2019-01-17 18:37:36 +05:30
parent 48660508ce
commit a163edec7a
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Bug fixes
| `Bug #3475 <https://redmine.postgresql.org/issues/3475>`_ - Fixed execution time to show Hours part for long running queries in Query Tool.
| `Bug #3693 <https://redmine.postgresql.org/issues/3693>`_ - Proper error should be thrown when server group is created with existing name.
| `Bug #3695 <https://redmine.postgresql.org/issues/3695>`_ - Ensure long string should be wrap in alertify dialogs.
| `Bug #3740 <https://redmine.postgresql.org/issues/3740>`_ - Inline edbspl trigger functions should not be visible in Grant Wizard.
| `Bug #3837 <https://redmine.postgresql.org/issues/3837>`_ - Fixed SQL for when clause while creating Trigger.
| `Bug #3838 <https://redmine.postgresql.org/issues/3838>`_ - Proper SQL should be generated when creating/changing column with custom type argument.
| `Bug #3846 <https://redmine.postgresql.org/issues/3846>`_ - Proper SQL should be generated when create procedure with custom type arguments.

View File

@ -21,6 +21,7 @@ WHERE
pronamespace = {{ node_id }}::oid
AND typname {{ 'NOT' if type != 'trigger_function' else '' }} IN ('trigger', 'event_trigger')
AND pr.prokind = '{{ kind }}'
AND pr.protype = {{ 0 if type != 'procedure' else 1 }}
ORDER BY
proname
{% endif %}