Re: Cast Operator Precedence

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Hackers Pg <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cast Operator Precedence
Date: 2012-09-11 23:39:29
Message-ID: 3753.1347406769@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" <david(at)justatheory(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2012-09-12 00:02:36 Correction to comment regarding atomicity of an operation
Previous Message David E. Wheeler 2012-09-11 23:23:35 Cast Operator Precedence