Re: BUG #3822: Nonstandard precedence for comparison operators

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #3822: Nonstandard precedence for comparison operators
Дата
Msg-id 200801022040.01559.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: BUG #3822: Nonstandard precedence for comparison operators  (Pedro Gimeno <pgsql-001@personal.formauri.es>)
Список 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 по дате отправления:

Предыдущее
От: "Mark Reid"
Дата:
Сообщение: Re: BUG #3847: plpython trigger caches table structure - doesn't see new / changed columns
Следующее
От: bozhan@mail.bg
Дата:
Сообщение: Re: BUG #3845: tray icon that service is running