Re: Cast Operator Precedence - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Cast Operator Precedence
Date
Msg-id 3753.1347406769@sss.pgh.pa.us
Whole thread Raw
In response to Cast Operator Precedence  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: Cast Operator Precedence
List pgsql-hackers
"David E. Wheeler" <david@justatheory.com> writes:
> So I guess the precedence of :: is higher than -?

Sure.  Otherwise, you might get the wrong semantics of "-".

http://www.postgresql.org/docs/9.2/static/sql-syntax-lexical.html#SQL-PRECEDENCE
        regards, tom lane



pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Cast Operator Precedence
Next
From: Gurjeet Singh
Date:
Subject: Correction to comment regarding atomicity of an operation