@@ -195,11 +195,13 @@ CREATE LANGUAGE plsample
195
195
<para>
196
196
Validator functions should typically honor the <xref
197
197
linkend="guc-check-function-bodies"> parameter: if it is turned off then
198
- any expensive or context-sensitive checking should be skipped.
199
- In particular, this parameter is turned off by <application>pg_dump</>
200
- so that it can load procedural language functions without worrying
201
- about possible dependencies of the function bodies on other database
202
- objects. (Because of this requirement, the call handler should avoid
198
+ any expensive or context-sensitive checking should be skipped. If the
199
+ language provides for code execution at compilation time, the validator
200
+ must suppress checks that would induce such execution. In particular,
201
+ this parameter is turned off by <application>pg_dump</> so that it can
202
+ load procedural language functions without worrying about side effects or
203
+ dependencies of the function bodies on other database objects.
204
+ (Because of this requirement, the call handler should avoid
203
205
assuming that the validator has fully checked the function. The point
204
206
of having a validator is not to let the call handler omit checks, but
205
207
to notify the user immediately if there are obvious errors in a