Re: BUG #3822: Nonstandard precedence for comparison operators - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #3822: Nonstandard precedence for comparison operators
Date
Msg-id 200801022040.01559.peter_e@gmx.net
Whole thread Raw
In response to Re: BUG #3822: Nonstandard precedence for comparison operators  (Pedro Gimeno <pgsql-001@personal.formauri.es>)
List pgsql-bugs
Pedro Gimeno wrote:
> > The spec seems to barely have a notion of operator precedence at all ---
>
> The precedence is given by the parse tree and is well defined. Perhaps
> it may vary for a given operator depending on the context but it's
> clearly different to the one PostgreSQL is using in the examples I gave.

It would be interesting if someone could work out an operator precedence table
that the spec would require, so we can contrast that with the one we
currently implement.  At the moment I couldn't really tell how extensive the
problem is.  Even if we change nothing, this would be useful for
documentation.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-bugs by date:

Previous
From: "Mark Reid"
Date:
Subject: Re: BUG #3847: plpython trigger caches table structure - doesn't see new / changed columns
Next
From: bozhan@mail.bg
Date:
Subject: Re: BUG #3845: tray icon that service is running