Missing prefix unary '+' operator in Table 4-2 ?

From: Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Missing prefix unary '+' operator in Table 4-2 ?
Date: 2011-05-04 18:36:10
Message-ID: BANLkTiks0toZPT+9F9-NAGkUHBBBU4xGjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

I have question about Table 4-2. Operator Precedence (decreasing) on
http://www.postgresql.org/docs/9.0/static/sql-syntax-lexical.html. I
see there is '-' unary (unary minus) operator listed, but I can't see
'+' (unary plus) prefix operator there. I think that it does not
belong to "(any other)" group as:

SELECT 5 ! + 6;
ERROR: operator does not exist: integer ! integer
LINE 1: SELECT 5 ! + 6;

Regards,
Grzegorz Szpetkowski

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2011-05-04 18:37:17 Missing documentation for pg_role column
Previous Message Grzegorz Szpetkowski 2011-05-04 16:05:39 createuser/dropuser username