Re: BUG #16037: Assertion fails in varbit_out

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #16037: Assertion fails in varbit_out
Дата
Msg-id 20191004054241.x4cfcu4qnaucggf3@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: BUG #16037: Assertion fails in varbit_out  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #16037: Assertion fails in varbit_out  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi,

On 2019-10-04 01:34:48 -0400, Tom Lane wrote:
> PG Bug reporting form <noreply@postgresql.org> writes:
> > The following query:
> > SELECT CAST(B'111111111111100000000' AS BIT VARYING(20)) >>8;
> > causes the FailedAssertion exception:
> 
> D'oh ... bitshiftright() needs to do the zero-pad-fixup in both
> code paths.  Will fix it tomorrow.

Does that suggest we shouldn't make the asserts active in the branches <
12?

Greetings,

Andres Freund



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16037: Assertion fails in varbit_out
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16037: Assertion fails in varbit_out