"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