File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ SELECT
2
+ e.evtname,
3
+ e.evtowner::regrole AS evtowner,
4
+ e.evtfoid::regproc AS evtfunction,
5
+ p.proowner::regrole AS function_owner
6
+ FROM pg_event_trigger e
7
+ JOIN pg_proc p
8
+ ON e.evtfoid = p.oid
9
+ WHERE p.prorettype = 'event_trigger'::regtype;
10
+ evtname | evtowner | evtfunction | function_owner
11
+ ----------------------------------------+----------------+------------------------------------+----------------
12
+ issue_pg_net_access | postgres | grant_pg_net_access | postgres
13
+ issue_pg_graphql_access | supabase_admin | grant_pg_graphql_access | supabase_admin
14
+ issue_graphql_placeholder | supabase_admin | set_graphql_placeholder | supabase_admin
15
+ pgrst_ddl_watch | supabase_admin | pgrst_ddl_watch | supabase_admin
16
+ pgrst_drop_watch | supabase_admin | pgrst_drop_watch | supabase_admin
17
+ graphql_watch_ddl | supabase_admin | graphql.increment_schema_version | supabase_admin
18
+ graphql_watch_drop | supabase_admin | graphql.increment_schema_version | supabase_admin
19
+ issue_pg_cron_access | supabase_admin | grant_pg_cron_access | postgres
20
+ pg_tle_event_trigger_for_drop_function | supabase_admin | pgtle.pg_tle_feature_info_sql_drop | supabase_admin
21
+ pgaudit_ddl_command_end | supabase_admin | pgaudit_ddl_command_end | supabase_admin
22
+ pgaudit_sql_drop | supabase_admin | pgaudit_sql_drop | supabase_admin
23
+ pgsodium_trg_mask_update | supabase_admin | pgsodium.trg_mask_update | supabase_admin
24
+ (12 rows)
25
+
Original file line number Diff line number Diff line change
1
+ SELECT
2
+ e .evtname ,
3
+ e .evtowner ::regrole AS evtowner,
4
+ e .evtfoid ::regproc AS evtfunction,
5
+ p .proowner ::regrole AS function_owner
6
+ FROM pg_event_trigger e
7
+ JOIN pg_proc p
8
+ ON e .evtfoid = p .oid
9
+ WHERE p .prorettype = ' event_trigger' ::regtype;
You can’t perform that action at this time.
0 commit comments