Re: Precedence of '|' operator (was Re: [patch,rfc] binary operators on integers)

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Precedence of '|' operator (was Re: [patch,rfc] binary operators on integers)
Дата
Msg-id 39EB1B06.B1A0A3C1@alumni.caltech.edu
обсуждение исходный текст
Ответ на Precedence of '|' operator (was Re: [patch,rfc] binary operators on integers)  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Precedence of '|' operator (was Re: [patch,rfc] binary operators on integers)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Well, that's a good point --- it isn't going to get any less painful to
> fix it later.  Do we want to just remove the special treatment of '|'
> and let it become one with the undifferentiated mass of Op, or do we
> want to try to set up reasonable precedence for all the bitwise
> operators (and if so, what should that be)?  The second choice has a
> greater chance of breaking existing apps because it's changing more
> operators ...
> Thomas, any opinions here?

I'd like to see closer adherence to the "usual" operator precedence. But
I really *hate* having to explicitly call out each rule in the a_expr,
b_expr, and/or c_expr productions. Any way around this?
                         - Thomas


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

Предыдущее
От: Don Baccus
Дата:
Сообщение: RE: AW: ALTER TABLE DROP COLUMN
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: AW: AW: ALTER TABLE DROP COLUMN