Re: Precedence of standard comparison operators

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Precedence of standard comparison operators
Дата
Msg-id 24031.1439162162@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Precedence of standard comparison operators  (Noah Misch <noah@leadboat.com>)
Ответы Re: Precedence of standard comparison operators
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Sun, Aug 09, 2015 at 06:44:58PM -0400, Tom Lane wrote:
>> So for our
>> purposes, it's better to keep BETWEEN and friends as binding slightly
>> tighter than '<' than to make them the same precedence.  Same precedence
>> risks breaking things that weren't broken before.

> It does risk that.  Same deal with making "=" have the same precedence as "<"
> instead of keeping it slightly lower.

Agreed, but in that case I think our hand is forced by the SQL standard.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Precedence of standard comparison operators
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Precedence of standard comparison operators