diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-01-26 12:25:44 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-01-26 12:25:44 -0500 |
commit | 4971d2a32209118ebbdc6611341b89901e340902 (patch) | |
tree | 8b59a637faaf915b2859db938e77bdabdbf3aa65 /doc/src | |
parent | b0313f9cc8f54d6a5c12f8987c9b6afa0a5bbced (diff) |
Remove the obsolete WITH clause of CREATE FUNCTION.
This clause was superseded by SQL-standard syntax back in 7.3.
We've kept it around for backwards-compatibility purposes ever since;
but 15 years seems like long enough for that, especially seeing that
there are undocumented weirdnesses in how it interacts with the
SQL-standard syntax for specifying the same options.
Michael Paquier, per an observation by Daniel Gustafsson;
some small cosmetic adjustments to nearby code by me.
Discussion: https://postgr.es/m/20180115022748.GB1724@paquier.xyz
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/create_function.sgml | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index fd229d11937..c0adb8cf1e6 100644 --- a/doc/src/sgml/ref/create_function.sgml +++ b/doc/src/sgml/ref/create_function.sgml @@ -37,7 +37,6 @@ CREATE [ OR REPLACE ] FUNCTION | AS '<replaceable class="parameter">definition</replaceable>' | AS '<replaceable class="parameter">obj_file</replaceable>', '<replaceable class="parameter">link_symbol</replaceable>' } ... - [ WITH ( <replaceable class="parameter">attribute</replaceable> [, ...] ) ] </synopsis> </refsynopsisdiv> @@ -560,41 +559,6 @@ CREATE [ OR REPLACE ] FUNCTION </listitem> </varlistentry> - <varlistentry> - <term><replaceable class="parameter">attribute</replaceable></term> - - <listitem> - <para> - The historical way to specify optional pieces of information - about the function. The following attributes can appear here: - - <variablelist> - <varlistentry> - <term><literal>isStrict</literal></term> - <listitem> - <para> - Equivalent to <literal>STRICT</literal> or <literal>RETURNS NULL ON NULL INPUT</literal>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term><literal>isCachable</literal></term> - <listitem> - <para><literal>isCachable</literal> is an obsolete equivalent of - <literal>IMMUTABLE</literal>; it's still accepted for - backwards-compatibility reasons. - </para> - </listitem> - </varlistentry> - - </variablelist> - - Attribute names are not case-sensitive. - </para> - </listitem> - </varlistentry> - </variablelist> <para> |