public inbox for [email protected]  
help / color / mirror / Atom feed
Missing prefix unary '+' operator in Table 4-2 ?
2+ messages / 2 participants
[nested] [flat]

* Missing prefix unary '+' operator in Table 4-2 ?
@ 2011-05-04 18:36 Grzegorz Szpetkowski <[email protected]>
  2011-05-04 18:53 ` Re: Missing prefix unary '+' operator in Table 4-2 ? Tom Lane <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Grzegorz Szpetkowski @ 2011-05-04 18:36 UTC (permalink / raw)
  To: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Missing prefix unary '+' operator in Table 4-2 ?
  2011-05-04 18:36 Missing prefix unary '+' operator in Table 4-2 ? Grzegorz Szpetkowski <[email protected]>
@ 2011-05-04 18:53 ` Tom Lane <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-05-04 18:53 UTC (permalink / raw)
  To: Grzegorz Szpetkowski <[email protected]>; +Cc: pgsql-docs

Grzegorz Szpetkowski <[email protected]> writes:
> 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.

Hm, yeah, that probably should be listed.  Will fix.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-05-04 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 18:36 Missing prefix unary '+' operator in Table 4-2 ? Grzegorz Szpetkowski <[email protected]>
2011-05-04 18:53 ` Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox