提交 5c63829f 编写于 作者: T Tom Lane

Minor editorialization on operator-family documentation: put some

copied-and-pasted text in a more useful location.
上级 33d72c73
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_opfamily.sgml,v 1.2 2007/01/31 23:26:02 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_opfamily.sgml,v 1.3 2007/02/14 04:30:26 tgl Exp $
PostgreSQL documentation
-->
......@@ -65,6 +65,20 @@ ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="
<para>
You must be a superuser to use <command>ALTER OPERATOR FAMILY</>.
(This restriction is made because an erroneous operator family definition
could confuse or even crash the server.)
</para>
<para>
<command>ALTER OPERATOR FAMILY</command> does not presently check
whether the operator family definition includes all the operators and
functions required by the index method, nor whether the operators and
functions form a self-consistent set. It is the user's
responsibility to define a valid operator family.
</para>
<para>
Refer to <xref linkend="xindex"> for further information.
</para>
</refsect1>
......
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opfamily.sgml,v 1.2 2007/01/31 23:26:03 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opfamily.sgml,v 1.3 2007/02/14 04:30:26 tgl Exp $
PostgreSQL documentation
-->
......@@ -62,14 +62,6 @@ CREATE OPERATOR FAMILY <replaceable class="parameter">name</replaceable> USING <
server.)
</para>
<para>
<command>CREATE OPERATOR FAMILY</command> does not presently check
whether the operator family definition includes all the operators and
functions required by the index method, nor whether the operators and
functions form a self-consistent set. It is the user's
responsibility to define a valid operator family.
</para>
<para>
Refer to <xref linkend="xindex"> for further information.
</para>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册