Re: BUG #16037: Assertion fails in varbit_out
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2019-10-04T05:42:41Z
Lists: 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
Commits
-
Fix bitshiftright()'s zero-padding some more.
- 61aa9f544a91 13.0 landed
- b8ddf0bdf746 11.6 landed
- b6a6c129fca4 9.4.25 landed
- 9faa9794f885 10.11 landed
- 8b77f783b758 9.5.20 landed
- 6c3b6406db3b 12.1 landed
- 30e5b3bbe9ca 9.6.16 landed