Re: BUG #16037: Assertion fails in varbit_out

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: exclusion(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16037: Assertion fails in varbit_out
Date: 2019-10-04 05:42:41
Message-ID: 20191004054241.x4cfcu4qnaucggf3@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On 2019-10-04 01:34:48 -0400, Tom Lane wrote:
> PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-10-04 05:52:07 Re: BUG #16037: Assertion fails in varbit_out
Previous Message Tom Lane 2019-10-04 05:34:48 Re: BUG #16037: Assertion fails in varbit_out