forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2f20ced
committed
Update nbits_set in brin_bloom_union
Properly update the number of bits set in the bitmap after merging thefilters in brin_bloom_union.This is mostly harmless, as the counter is used only in the outputfunction, which means pageinspect may show incorrect information aboutthe BRIN summary. The counter does not affect correctness.Discovered while adding a regression test comparing indexes built withand without parallelism. The parallel index builds exercise the unionprocedure when merging results from workers, which is otherwise veryhard to do in a test. Which is why this went unnoticed until now.Backpatch through 14, where the BRIN bloom opclasses were introduced.Backpatch-through: 14Discussion:https://postgr.es/m/1df00a66-db5a-4e66-809a-99b386a06d86%40enterprisedb.com1 parent9358297 commit2f20ced
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
691 | 691 |
| |
692 | 692 |
| |
693 | 693 |
| |
| 694 | + | |
| 695 | + | |
| 696 | + | |
694 | 697 |
| |
695 | 698 |
| |
696 | 699 |
| |
|
0 commit comments
Comments
(0)