| | |
| | | useconfig |
| | | FROM pg_shadow; |
| | | |
| | | CREATE VIEW plsql_trace_runs AS |
| | | SELECT |
| | | run_id, |
| | | trace_mask, |
| | | started_at, |
| | | ended_at, |
| | | event_count, |
| | | is_active |
| | | FROM pg_catalog.dbms_trace_plsql_trace_runs() |
| | | AS t(run_id bigint, |
| | | trace_mask integer, |
| | | started_at timestamptz, |
| | | ended_at timestamptz, |
| | | event_count integer, |
| | | is_active boolean); |
| | | |
| | | CREATE VIEW plsql_trace_events AS |
| | | SELECT |
| | | event_type, |
| | | run_id, |
| | | event_seq, |
| | | event_timestamp, |
| | | unit_name, |
| | | subprogram_name, |
| | | nesting_depth, |
| | | line_no, |
| | | sql_text, |
| | | error_code, |
| | | comment |
| | | FROM pg_catalog.dbms_trace_plsql_trace_events() |
| | | AS t(event_type text, |
| | | run_id bigint, |
| | | event_seq bigint, |
| | | event_timestamp timestamptz, |
| | | unit_name text, |
| | | subprogram_name text, |
| | | nesting_depth integer, |
| | | line_no integer, |
| | | sql_text text, |
| | | error_code integer, |
| | | comment text); |
| | | |
| | | CREATE VIEW pg_policies AS |
| | | SELECT |
| | | N.nspname AS schemaname, |