File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ PostgreSQL documentation
23
23
<synopsis>
24
24
CREATE OPERATOR <replaceable>name</replaceable> (
25
25
{FUNCTION|PROCEDURE} = <replaceable class="parameter">function_name</replaceable>
26
- [, LEFTARG = <replaceable class="parameter">left_type</replaceable> ] [ , RIGHTARG = <replaceable class="parameter">right_type</replaceable> ]
26
+ [, LEFTARG = <replaceable class="parameter">left_type</replaceable> ] , RIGHTARG = <replaceable class="parameter">right_type</replaceable>
27
27
[, COMMUTATOR = <replaceable class="parameter">com_op</replaceable> ] [, NEGATOR = <replaceable class="parameter">neg_op</replaceable> ]
28
28
[, RESTRICT = <replaceable class="parameter">res_proc</replaceable> ] [, JOIN = <replaceable class="parameter">join_proc</replaceable> ]
29
29
[, HASHES ] [, MERGES ]
@@ -88,8 +88,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
88
88
89
89
<para>
90
90
For binary operators, both <literal>LEFTARG</literal> and
91
- <literal>RIGHTARG</literal> must be defined. For prefix operators only
92
- <literal>RIGHTARG</literal> should be defined.
91
+ <literal>RIGHTARG</literal> must be defined. For prefix operators, only
92
+ <literal>RIGHTARG</literal> must be defined.
93
93
The <replaceable class="parameter">function_name</replaceable>
94
94
function must have been previously defined using <command>CREATE
95
95
FUNCTION</command> and must be defined to accept the correct number
Original file line number Diff line number Diff line change 21
21
22
22
<para>
23
23
<productname>PostgreSQL</productname> supports prefix
24
- and infix operators. Operators can be
24
+ and binary (or infix) operators. Operators can be
25
25
overloaded;<indexterm><primary>overloading</primary><secondary>operators</secondary></indexterm>
26
26
that is, the same operator name can be used for different operators
27
27
that have different numbers and types of operands. When a query is
You can’t perform that action at this time.
0 commit comments