Re: json/jsonb/hstore operator precedence - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: json/jsonb/hstore operator precedence
Date
Msg-id 533B2CAC.5060405@agliodbs.com
Whole thread Raw
In response to json/jsonb/hstore operator precedence  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
On 04/01/2014 01:07 PM, Andrew Dunstan wrote:
> What really bugs me about the example is that <> has a different
> precedence from =, which seems more than odd. The example works just
> fine if you use = instead of <>. But I guess it's been that way for a
> very long time and there's not much to be done about it.

... and it would probably break umpty-zillion existing apps if we
changed precedence.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: get_fn_expr_variadic considered harmful
Next
From: Jim Nasby
Date:
Subject: Re: Doing better at HINTing an appropriate column within errorMissingColumn()