1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_operator.sgml,v 1.7 2000/10/05 19:48:18 momjian Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_operator.sgml,v 1.8 2000/10/23 00:46:07 tgl Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -24,7 +24,7 @@ Postgres documentation
24
24
<date>1999-07-20</date>
25
25
</refsynopsisdivinfo>
26
26
<synopsis>
27
- DROP OPERATOR <replaceable class="PARAMETER">id</replaceable> ( <replaceable class="PARAMETER">type </replaceable> | NONE [,...] )
27
+ DROP OPERATOR <replaceable class="PARAMETER">id</replaceable> ( <replaceable class="PARAMETER">lefttype </replaceable> | NONE , <replaceable class="PARAMETER">righttype</replaceable> | NONE )
28
28
</synopsis>
29
29
30
30
<refsect2 id="R2-SQL-DROPOPERATOR-1">
@@ -45,10 +45,20 @@ DROP OPERATOR <replaceable class="PARAMETER">id</replaceable> ( <replaceable cla
45
45
</listitem>
46
46
</varlistentry>
47
47
<varlistentry>
48
- <term><replaceable class="parameter">type </replaceable></term>
48
+ <term><replaceable class="parameter">lefttype </replaceable></term>
49
49
<listitem>
50
50
<para>
51
- The type of function parameters.
51
+ The type of the operator's left argument; write <literal>NONE</literal> if the
52
+ operator has no left argument.
53
+ </para>
54
+ </listitem>
55
+ </varlistentry>
56
+ <varlistentry>
57
+ <term><replaceable class="parameter">righttype</replaceable></term>
58
+ <listitem>
59
+ <para>
60
+ The type of the operator's right argument; write <literal>NONE</literal> if the
61
+ operator has no right argument.
52
62
</para>
53
63
</listitem>
54
64
</varlistentry>
@@ -127,7 +137,7 @@ ERROR: RemoveOperator: right unary operator '<replaceable class="PARAMETER">ope
127
137
</para>
128
138
<para>
129
139
The left or right type of a left or right unary
130
- operator, respectively, may be specified as <literal>NONE</literal>.
140
+ operator, respectively, must be specified as <literal>NONE</literal>.
131
141
</para>
132
142
133
143
<refsect2 id="R2-SQL-DROPOPERATOR-3">
@@ -166,13 +176,13 @@ DROP OPERATOR ^ (int4, int4);
166
176
</programlisting>
167
177
</para>
168
178
<para>
169
- Remove left unary negation operator (<literal>b ! </literal>) for booleans:
179
+ Remove left unary negation operator (<literal>! b </literal>) for booleans:
170
180
<programlisting>
171
181
DROP OPERATOR ! (none, bool);
172
182
</programlisting>
173
183
</para>
174
184
<para>
175
- Remove right unary factorial operator (<literal>! i </literal>) for
185
+ Remove right unary factorial operator (<literal>i ! </literal>) for
176
186
<literal>int4</literal>:
177
187
<programlisting>
178
188
DROP OPERATOR ! (int4, none);
0 commit comments