Skip to content

Commit

Permalink
Update pragma.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgitelman authored Sep 19, 2023
1 parent 9df6bb3 commit d8dd1b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions advocacy_docs/pg_extensions/spl_check/using/pragma.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: Pragma

You can configure EDB SPL Check's behavior inside a checked function with a pragma function. This is an analogy of PL/SQL or ADA language of a pragma feature. PL/pgSQL doesn't support pragma, but EDB SPL Check detects functions named `spl_check_pragma` and takes options from the parameters of the function. These EDB SPL Check options are valid to add to the end of this group of statements:

<!-- second sentence doesn't make sense, query on edit on last sentence-->

```sql
CREATE OR REPLACE FUNCTION test()
RETURNS void AS $$
Expand Down Expand Up @@ -84,4 +82,4 @@ Creates an ephemeral temporary sequence.

!!! Note
Pragmas `enable:tracer` and `disable:tracer` are active for Postgres versions 12 and later.
!!!
!!!

0 comments on commit d8dd1b4

Please sign in to comment.