diff options
Diffstat (limited to 'doc/src/sgml/parallel.sgml')
-rw-r--r-- | doc/src/sgml/parallel.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/parallel.sgml b/doc/src/sgml/parallel.sgml index 5acc9537d6f..dae9dd7f2f9 100644 --- a/doc/src/sgml/parallel.sgml +++ b/doc/src/sgml/parallel.sgml @@ -545,10 +545,10 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%'; </para> <para> - Functions and aggregates must be marked <literal>PARALLEL UNSAFE</literal> if - they write to the database, access sequences, change the transaction state - even temporarily (e.g., a PL/pgSQL function that establishes an - <literal>EXCEPTION</literal> block to catch errors), or make persistent changes to + Functions and aggregates must be marked <literal>PARALLEL UNSAFE</literal> + if they write to the database, change the transaction state (other than by + using a subtransaction for error recovery), access sequences, or make + persistent changes to settings. Similarly, functions must be marked <literal>PARALLEL RESTRICTED</literal> if they access temporary tables, client connection state, cursors, prepared statements, or miscellaneous backend-local state that |