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/ ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster