mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 15:06:55 +02:00
Doc: clarify description of CREATE/ALTER FUNCTION ... SET FROM CURRENT.
Per discussion with David Johnston.
This commit is contained in:
parent
eb4dfa239e
commit
930675867b
@ -236,8 +236,9 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
|
|||||||
setting is removed, so that the function executes with the value
|
setting is removed, so that the function executes with the value
|
||||||
present in its environment. Use <literal>RESET
|
present in its environment. Use <literal>RESET
|
||||||
ALL</literal> to clear all function-local settings.
|
ALL</literal> to clear all function-local settings.
|
||||||
<literal>SET FROM CURRENT</> saves the session's current value of
|
<literal>SET FROM CURRENT</> saves the value of the parameter that
|
||||||
the parameter as the value to be applied when the function is entered.
|
is current when <command>ALTER FUNCTION</> is executed as the value
|
||||||
|
to be applied when the function is entered.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -448,8 +448,9 @@ CREATE [ OR REPLACE ] FUNCTION
|
|||||||
The <literal>SET</> clause causes the specified configuration
|
The <literal>SET</> clause causes the specified configuration
|
||||||
parameter to be set to the specified value when the function is
|
parameter to be set to the specified value when the function is
|
||||||
entered, and then restored to its prior value when the function exits.
|
entered, and then restored to its prior value when the function exits.
|
||||||
<literal>SET FROM CURRENT</> saves the session's current value of
|
<literal>SET FROM CURRENT</> saves the value of the parameter that
|
||||||
the parameter as the value to be applied when the function is entered.
|
is current when <command>CREATE FUNCTION</> is executed as the value
|
||||||
|
to be applied when the function is entered.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user