aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-07-08 16:30:13 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-07-08 16:30:13 +0000
commit7f882768dc8f85e915ce437dc3e688ca64ef4cca (patch)
tree0460cfbb512536e893507e5df9e46692a88d097e /doc/src
parenta64bf0afb702583d8f20367522e147ee692f2084 (diff)
downloadpostgresql-7f882768dc8f85e915ce437dc3e688ca64ef4cca.tar.gz
postgresql-7f882768dc8f85e915ce437dc3e688ca64ef4cca.zip
Add a cross-reference to precedence information to CREATE OPERATOR's
documentation. Per suggestion from Marc Cousin.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_operator.sgml8
1 files changed, 7 insertions, 1 deletions
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
-->
@@ -227,6 +227,12 @@ COMMUTATOR = OPERATOR(myschema.===) ,
</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
specify the names of sort operators associated with a merge-joinable