Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07b7683

Browse filesBrowse files
committed
Doc: update documentation of check_function_bodies.
Adjust docs and description string to note that check_function_bodies applies to procedures too. (In hindsight it should have been named check_routine_bodies, but it seems too late for that now.) Daniel Westermann Discussion: https://postgr.es/m/GV0P278MB04834A9EB9A74B036DC7CE49D2739@GV0P278MB0483.CHEP278.PROD.OUTLOOK.COM
1 parent 152d33b commit 07b7683
Copy full SHA for 07b7683

File tree

Expand file treeCollapse file tree

2 files changed

+8
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-6
lines changed

‎doc/src/sgml/config.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/config.sgml
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8415,10 +8415,12 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
84158415
<listitem>
84168416
<para>
84178417
This parameter is normally on. When set to <literal>off</literal>, it
8418-
disables validation of the function body string during <xref
8419-
linkend="sql-createfunction"/>. Disabling validation avoids side
8420-
effects of the validation process and avoids false positives due
8421-
to problems such as forward references. Set this parameter
8418+
disables validation of the routine body string during <xref
8419+
linkend="sql-createfunction"/> and <xref
8420+
linkend="sql-createprocedure"/>. Disabling validation avoids side
8421+
effects of the validation process, in particular preventing false
8422+
positives due to problems such as forward references.
8423+
Set this parameter
84228424
to <literal>off</literal> before loading functions on behalf of other
84238425
users; <application>pg_dump</application> does so automatically.
84248426
</para>
@@ -9954,7 +9956,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
99549956
When set to <literal>on</literal>, which is the default,
99559957
<productname>PostgreSQL</productname> will automatically remove
99569958
temporary files after a backend crash. If disabled, the files will be
9957-
retained and may be used for debugging, for example. Repeated crashes
9959+
retained and may be used for debugging, for example. Repeated crashes
99589960
may however result in accumulation of useless files.
99599961
</para>
99609962
</listitem>

‎src/backend/utils/misc/guc.c

Copy file name to clipboardExpand all lines: src/backend/utils/misc/guc.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ static struct config_bool ConfigureNamesBool[] =
17591759
},
17601760
{
17611761
{"check_function_bodies", PGC_USERSET, CLIENT_CONN_STATEMENT,
1762-
gettext_noop("Check function bodies during CREATE FUNCTION."),
1762+
gettext_noop("Check routine bodies during CREATE FUNCTION and CREATE PROCEDURE."),
17631763
NULL
17641764
},
17651765
&check_function_bodies,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.