From 671322751add80f3368cd9ef17134fb9f73cf747 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 4 May 2011 15:02:34 -0400 Subject: [PATCH] Include unary plus in the Operator Precedence table. Per gripe from Grzegorz Szpetkowski. Also, change the subsection heading from "Lexical Precedence" (which is a contradiction in terms) to "Operator Precedence". --- doc/src/sgml/syntax.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 40a87aabc7..f6c4a4defa 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -972,7 +972,7 @@ CAST ( 'string' AS type ) - Lexical Precedence + Operator Precedence operator @@ -1039,9 +1039,9 @@ SELECT (5 !) - 6; - - + + - right - unary minus + unary plus, unary minus @@ -1065,7 +1065,7 @@ SELECT (5 !) - 6; IS - IS TRUE, IS FALSE, IS UNKNOWN, IS NULL + IS TRUE, IS FALSE, IS NULL, etc