summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2007-02-14 04:30:26 +0000
committerTom Lane2007-02-14 04:30:26 +0000
commit5c63829f2f581f7508b08b21274f062f9ef013ea (patch)
tree16faa7ee6ee780fcef69eb5a83db6977bdac9165
parent33d72c7351e69fe584447b95e1ed6798f4850a1d (diff)
Minor editorialization on operator-family documentation: put some
copied-and-pasted text in a more useful location.
-rw-r--r--doc/src/sgml/ref/alter_opfamily.sgml16
-rw-r--r--doc/src/sgml/ref/create_opfamily.sgml10
2 files changed, 16 insertions, 10 deletions
diff --git a/doc/src/sgml/ref/alter_opfamily.sgml b/doc/src/sgml/ref/alter_opfamily.sgml
index 31d77fcf0c..cbb1c7b278 100644
--- a/doc/src/sgml/ref/alter_opfamily.sgml
+++ b/doc/src/sgml/ref/alter_opfamily.sgml
@@ -1,5 +1,5 @@
<!--
-$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>
diff --git a/doc/src/sgml/ref/create_opfamily.sgml b/doc/src/sgml/ref/create_opfamily.sgml
index ee40196a47..20fd1ba123 100644
--- a/doc/src/sgml/ref/create_opfamily.sgml
+++ b/doc/src/sgml/ref/create_opfamily.sgml
@@ -1,5 +1,5 @@
<!--
-$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
-->
@@ -63,14 +63,6 @@ CREATE OPERATOR FAMILY <replaceable class="parameter">name</replaceable> USING <
</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>
</refsect1>