Re: Cast Operator Precedence

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hackers Pg <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cast Operator Precedence
Date: 2012-09-12 04:00:17
Message-ID: 4CEF5847-51D4-4D06-B81F-5CF65067AFEB@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sep 11, 2012, at 4:39 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Sure. Otherwise, you might get the wrong semantics of "-".
>
> http://www.postgresql.org/docs/9.2/static/sql-syntax-lexical.html#SQL-PRECEDENCE

Well, I guess that's what I get for writing test in literal SQL pushed through psql. Prepared statements FTW!

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2012-09-12 07:20:21 Comment typo
Previous Message David E. Wheeler 2012-09-12 03:58:48 Re: ossp-uuid Contrib Patch