diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-10-03 19:26:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-10-03 19:26:49 +0000 |
commit | 15c194c1d51991deb7b7e6a00c6ce89575654120 (patch) | |
tree | e07a7ffab2d0494a6a08ec01e6d12c61413d675d /doc/src/sgml | |
parent | 251033186ff575cf130ec53daa996749022fbad3 (diff) | |
download | postgresql-15c194c1d51991deb7b7e6a00c6ce89575654120.tar.gz postgresql-15c194c1d51991deb7b7e6a00c6ce89575654120.zip |
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.
Diffstat (limited to 'doc/src/sgml')
-rw-r--r-- | doc/src/sgml/runtime.sgml | 13 |
1 files changed, 12 insertions, 1 deletions
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 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.209 2003/09/20 20:12:05 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.210 2003/10/03 19:26:49 tgl Exp $ --> <Chapter Id="runtime"> @@ -2085,6 +2085,17 @@ SET ENABLE_SEQSCAN TO OFF; </listitem> </varlistentry> + <varlistentry> + <term><varname>check_function_bodies</varname> (<type>boolean</type>)</term> + <listitem> + <para> + This parameter is normally true. When set false, it disables + validation of the function body string in <command>CREATE FUNCTION</>. + Disabling validation is occasionally useful to avoid problems such as + forward references when restoring function definitions from a dump. + </para> + </listitem> + </varlistentry> <varlistentry> <indexterm> |