From 7f882768dc8f85e915ce437dc3e688ca64ef4cca Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu, 8 Jul 2010 16:30:13 +0000
Subject: [PATCH] Add a cross-reference to precedence information to CREATE
 OPERATOR's documentation.  Per suggestion from Marc Cousin.

---
 doc/src/sgml/ref/create_operator.sgml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/ref/create_operator.sgml b/doc/src/sgml/ref/create_operator.sgml
index d70fefcf05c..faaf1b55b5d 100644
--- a/doc/src/sgml/ref/create_operator.sgml
+++ b/doc/src/sgml/ref/create_operator.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.53 2010/06/22 11:36:16 rhaas Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.54 2010/07/08 16:30:13 tgl Exp $
 PostgreSQL documentation
 -->
 
@@ -226,6 +226,12 @@ COMMUTATOR = OPERATOR(myschema.===) ,
    Refer to <xref linkend="xoper"> for further information.
   </para>
 
+  <para>
+   It is not possible to specify an operator's lexical precedence in
+   <command>CREATE OPERATOR</>, because the parser's precedence behavior
+   is hard-wired.  See <xref linkend="sql-precedence"> for precedence details.
+  </para>
+
   <para>
    The obsolete options <literal>SORT1</>, <literal>SORT2</>,
    <literal>LTCMP</>, and <literal>GTCMP</> were formerly used to
-- 
GitLab