Re: use rotate macro in more places

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: use rotate macro in more places
Дата
Msg-id 74469.1645294929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: use rotate macro in more places  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: use rotate macro in more places  (John Naylor <john.naylor@enterprisedb.com>)
Список pgsql-hackers
Yugo NAGATA <nagata@sraoss.co.jp> writes:
> For avoiding undefined behaviours,  maybe it is better to use unsigned
> int and bit mask as a following code in Linux does[1][2], though it
> would be unnecessary if they are used properly as in the current
> PostgreSQL code.

I don't think that's an improvement.  It would mask buggy calls.

            regards, tom lane



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: killing perl2host
Следующее
От: Joseph Koshakow
Дата:
Сообщение: Re: Fix formatting of Interval output