Skip to content

Commit

Permalink
Update configuring.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgitelman authored Sep 19, 2023
1 parent 861d938 commit 3bcf090
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions advocacy_docs/pg_extensions/spl_check/configuring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ CREATE EXTENSION spl_check
```

You can run EDB SPL Check in active mode or passive mode. In active mode, you can run checks with API functions like `spl_check_function`. In passive mode, functions are checked when executed.
<!-- API functions correct? -->

## Active mode

In active mode, start checks by running API functions like `spl_check_function`. Active mode is the default behavior for EDB SPL Check. However, you can change this mode with the `spl_check.mode` setting. See [Configuring passive mode](#configuring-passive-mode) for more information.
<!-- same query -->

You can also use the functions `spl_check_package`, `spl_check_objecttype`, and `spl_check_trigger` to validate your code. See [Using EDB SPL Check](using) for more information.

Expand Down Expand Up @@ -265,8 +263,6 @@ spl_check.show_performance_warnings = false

By default, `spl_check.mode` is set to `by_function`, which means that checks are done only in active mode by using `spl_check_function`. `fresh_start` means cold start, so function's called first.

<!-- Query last sentence -->

To enable passive mode:

```sql
Expand Down

0 comments on commit 3bcf090

Please sign in to comment.