Update compatibility information.
This commit is contained in:
parent
861a0d7b5a
commit
76273a51a8
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_function.sgml,v 1.13 2001/09/03 12:57:49 petere Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_function.sgml,v 1.14 2001/09/13 19:40:34 petere Exp $
|
||||||
Postgres documentation
|
Postgres documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -105,14 +105,10 @@ NOTICE RemoveFunction: Function "<replaceable class="parameter">name</replaceabl
|
|||||||
function must be specified, as only the function with the
|
function must be specified, as only the function with the
|
||||||
given name and argument types will be removed.
|
given name and argument types will be removed.
|
||||||
</para>
|
</para>
|
||||||
|
</refsect1>
|
||||||
|
|
||||||
<refsect2 id="R2-SQL-DROPFUNCTION-3">
|
<refsect1 id="SQL-DROPFUNCTION-notes">
|
||||||
<refsect2info>
|
<title>Notes</title>
|
||||||
<date>1998-04-15</date>
|
|
||||||
</refsect2info>
|
|
||||||
<title>
|
|
||||||
Notes
|
|
||||||
</title>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Refer to
|
Refer to
|
||||||
@ -124,58 +120,42 @@ NOTICE RemoveFunction: Function "<replaceable class="parameter">name</replaceabl
|
|||||||
No checks are made to ensure that types, operators or access
|
No checks are made to ensure that types, operators or access
|
||||||
methods that rely on the function have been removed first.
|
methods that rely on the function have been removed first.
|
||||||
</para>
|
</para>
|
||||||
</refsect2>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1 id="R1-SQL-DROPFUNCTION-2">
|
<refsect1 id="SQL-DROPFUNCTION-examples">
|
||||||
<title>
|
<title>Examples</title>
|
||||||
Usage
|
|
||||||
</title>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This command removes the square root function:
|
This command removes the square root function:
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
DROP FUNCTION sqrt(int4);
|
DROP FUNCTION sqrt(integer);
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1 id="R1-SQL-DROPFUNCTION-4">
|
<refsect1 id="SQL-DROPFUNCTION-compatibility">
|
||||||
<title>
|
<title>Compatibility</title>
|
||||||
Compatibility
|
|
||||||
</title>
|
|
||||||
|
|
||||||
<refsect2 id="R2-SQL-DROPFUNCTION-4">
|
<para>
|
||||||
<refsect2info>
|
A <command>DROP FUNCTION</command> statement is defined in SQL99. One of its syntax forms is:
|
||||||
<date>1999-07-20</date>
|
|
||||||
</refsect2info>
|
|
||||||
<title>
|
|
||||||
SQL92
|
|
||||||
</title>
|
|
||||||
|
|
||||||
<para>
|
<synopsis>
|
||||||
<command>DROP FUNCTION</command>
|
DROP FUNCTION <replaceable class="parameter">name</replaceable> (<replaceable>arg</>, ...) { RESTRICT | CASCADE }
|
||||||
is a <productname>Postgres</productname> language extension.
|
</synopsis>
|
||||||
</para>
|
|
||||||
</refsect2>
|
|
||||||
|
|
||||||
<refsect2 id="R2-SQL-DROPFUNCTION-5">
|
where <literal>CASCADE</> specifies dropping all objects that
|
||||||
<refsect2info>
|
depend on the function and <literal>RESTRICT</literal> refuses to
|
||||||
<date>1998-04-15</date>
|
drop the function if dependent objects exist.
|
||||||
</refsect2info>
|
</para>
|
||||||
<title>
|
</refsect1>
|
||||||
SQL/PSM
|
|
||||||
</title>
|
|
||||||
<para>
|
|
||||||
SQL/PSM is a standard to enable function extensibility.
|
|
||||||
The SQL/PSM DROP FUNCTION statement has the following syntax:
|
|
||||||
|
|
||||||
<synopsis>
|
<refsect1>
|
||||||
DROP [ SPECIFIC ] FUNCTION <replaceable class="parameter">name</replaceable> { RESTRICT | CASCADE }
|
<title>See Also</title>
|
||||||
</synopsis>
|
|
||||||
</para>
|
<simplelist type="inline">
|
||||||
</refsect2>
|
<member><xref linkend="sql-createfunction"></member>
|
||||||
|
</simplelist>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
</refentry>
|
</refentry>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user