diff options
| author | Tom Lane | 2016-08-09 17:39:24 +0000 |
|---|---|---|
| committer | Tom Lane | 2016-08-09 17:39:58 +0000 |
| commit | be1d75ea23ee020d0c5e27195a01d7678aa1b5ef (patch) | |
| tree | 8c9d7c81fa574395aa29b2c65b55d2adbe9f82ec /doc/src/sgml | |
| parent | 01de6f3fd80721583baf2378ee8fe2b06a448ed0 (diff) | |
Doc: clarify description of CREATE/ALTER FUNCTION ... SET FROM CURRENT.
Per discussion with David Johnston.
Diffstat (limited to 'doc/src/sgml')
| -rw-r--r-- | doc/src/sgml/ref/alter_function.sgml | 5 | ||||
| -rw-r--r-- | doc/src/sgml/ref/create_function.sgml | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/alter_function.sgml b/doc/src/sgml/ref/alter_function.sgml index 013b6f8401c..1c5346197d3 100644 --- a/doc/src/sgml/ref/alter_function.sgml +++ b/doc/src/sgml/ref/alter_function.sgml @@ -236,8 +236,9 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet setting is removed, so that the function executes with the value present in its environment. Use <literal>RESET ALL</literal> to clear all function-local settings. - <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>ALTER FUNCTION</> is executed as the value + to be applied when the function is entered. </para> <para> diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index c82fbdca7a1..819e7235c8e 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> |
