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

@@ -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 %}