Re: BUG #16013: Unexpected results from bit field query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16013: Unexpected results from bit field query
Дата
Msg-id 27542.1568864239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16013: Unexpected results from bit field query  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #16013: Unexpected results from bit field query
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> A query using a right bit shift and an equality on a bit field seems to
> return incorrect results.

Ugh.  bit_cmp expects that any unused bits in the last byte
are guaranteed zero, but bitshiftright isn't ensuring that.
Didn't look to see if the same bug exists anywhere else ...

            regards, tom lane



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

Предыдущее
От: Morris de Oryx
Дата:
Сообщение: Fwd: citext LIKE search bug
Следующее
От: Tom Lane
Дата:
Сообщение: Re: citext LIKE search bug