You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`function` - (Required) A function that is declared as taking no argument and returning type event_trigger.
52
53
54
+
*`function_schema` - (Required) Schema where the function is located.
55
+
53
56
*`filter` - (Optional) Lists of filter variables to restrict the firing of the trigger. Currently the only supported filter_variable is TAG.
54
57
*`variable` - (Required) The name of a variable used to filter events. Currently the only supported value is TAG.
55
58
*`values` - (Required) The name of the filter variable name. For TAG, this means a list of command tags (e.g., 'DROP FUNCTION').
56
59
57
60
*`database` - (Optional) The database where the event trigger is located.
58
61
If not specified, the function is created in the current database.
59
62
60
-
*`schema` - (Optional) Schema where the function is located.
61
-
If not specified, the function is created in the current schema.
62
-
63
63
*`status` - (Optional) These configure the firing of event triggers. The allowed names are "disable", "enable", "enable_replica" or "enable_always". Default is "enable".
64
64
65
65
*`owner` - (Required) The user name of the owner of the event trigger. You can't use 'current_role', 'current_user' or 'session_user' in order to avoid drifts.
0 commit comments