Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c63829

Browse files
committed
Minor editorialization on operator-family documentation: put some
copied-and-pasted text in a more useful location.
1 parent33d72c7 commit5c63829

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

‎doc/src/sgml/ref/alter_opfamily.sgml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_opfamily.sgml,v 1.2 2007/01/31 23:26:02 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_opfamily.sgml,v 1.3 2007/02/14 04:30:26 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -65,6 +65,20 @@ ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="
6565

6666
<para>
6767
You must be a superuser to use <command>ALTER OPERATOR FAMILY</>.
68+
(This restriction is made because an erroneous operator family definition
69+
could confuse or even crash the server.)
70+
</para>
71+
72+
<para>
73+
<command>ALTER OPERATOR FAMILY</command> does not presently check
74+
whether the operator family definition includes all the operators and
75+
functions required by the index method, nor whether the operators and
76+
functions form a self-consistent set. It is the user's
77+
responsibility to define a valid operator family.
78+
</para>
79+
80+
<para>
81+
Refer to <xref linkend="xindex"> for further information.
6882
</para>
6983
</refsect1>
7084

‎doc/src/sgml/ref/create_opfamily.sgml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opfamily.sgml,v 1.2 2007/01/31 23:26:03 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opfamily.sgml,v 1.3 2007/02/14 04:30:26 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -62,14 +62,6 @@ CREATE OPERATOR FAMILY <replaceable class="parameter">name</replaceable> USING <
6262
server.)
6363
</para>
6464

65-
<para>
66-
<command>CREATE OPERATOR FAMILY</command> does not presently check
67-
whether the operator family definition includes all the operators and
68-
functions required by the index method, nor whether the operators and
69-
functions form a self-consistent set. It is the user's
70-
responsibility to define a valid operator family.
71-
</para>
72-
7365
<para>
7466
Refer to <xref linkend="xindex"> for further information.
7567
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp