summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_function.sgml
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-08-09 13:39:24 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-08-09 13:39:48 -0400
commit86c40464b9cfe8de6135fdfd2b5b7b9bd6f6cb2b (patch)
tree266d985526519e4872d7f34d4a547a2b1755bb4d /doc/src/sgml/ref/create_function.sgml
parent860f8fb1aa4ee01259bac8fa4e1c4da9570ac1b7 (diff)
Doc: clarify description of CREATE/ALTER FUNCTION ... SET FROM CURRENT.
Per discussion with David Johnston.
Diffstat (limited to 'doc/src/sgml/ref/create_function.sgml')
-rw-r--r--doc/src/sgml/ref/create_function.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index 20019215351..af66de3409e 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -421,8 +421,9 @@ CREATE [ OR REPLACE ] FUNCTION
The <literal>SET</> clause causes the specified configuration
parameter to be set to the specified value when the function is
entered, and then restored to its prior value when the function exits.
- <literal>SET FROM CURRENT</> saves the session's current value of
- the parameter as the value to be applied when the function is entered.
+ <literal>SET FROM CURRENT</> saves the value of the parameter that
+ is current when <command>CREATE FUNCTION</> is executed as the value
+ to be applied when the function is entered.
</para>
<para>