Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 832989a

Browse files
author
Commitfest Bot
committed
[CF 5787] v1 - doc: Some copy-editing around prefix operators
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5787 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/aAtpbnQphv4LWAye@msg.df7cb.de Author(s): Christoph Berg
2 parents 961553d + 6696082 commit 832989a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/ref/create_operator.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PostgreSQL documentation
2323
<synopsis>
2424
CREATE OPERATOR <replaceable>name</replaceable> (
2525
{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>
2727
[, COMMUTATOR = <replaceable class="parameter">com_op</replaceable> ] [, NEGATOR = <replaceable class="parameter">neg_op</replaceable> ]
2828
[, RESTRICT = <replaceable class="parameter">res_proc</replaceable> ] [, JOIN = <replaceable class="parameter">join_proc</replaceable> ]
2929
[, HASHES ] [, MERGES ]
@@ -88,8 +88,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
8888

8989
<para>
9090
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.
9393
The <replaceable class="parameter">function_name</replaceable>
9494
function must have been previously defined using <command>CREATE
9595
FUNCTION</command> and must be defined to accept the correct number

doc/src/sgml/xoper.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<para>
2323
<productname>PostgreSQL</productname> supports prefix
24-
and infix operators. Operators can be
24+
and binary (or infix) operators. Operators can be
2525
overloaded;<indexterm><primary>overloading</primary><secondary>operators</secondary></indexterm>
2626
that is, the same operator name can be used for different operators
2727
that have different numbers and types of operands. When a query is

0 commit comments

Comments
 (0)