From 15c194c1d51991deb7b7e6a00c6ce89575654120 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 3 Oct 2003 19:26:49 +0000 Subject: Add GUC parameter check_function_bodies to control whether validation of function bodies is done at CREATE FUNCTION time. This is normally true but can be set false to avoid problems with forward references, wrong schema search path, etc. This is just the backend patch, still need to adjust pg_dump to make use of it. --- doc/src/sgml/runtime.sgml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 21089df6794..443cd40387f 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -2085,6 +2085,17 @@ SET ENABLE_SEQSCAN TO OFF; + + check_function_bodies (boolean) + + + This parameter is normally true. When set false, it disables + validation of the function body string in CREATE FUNCTION. + Disabling validation is occasionally useful to avoid problems such as + forward references when restoring function definitions from a dump. + + + -- cgit v1.2.3