Hi,
The commit
b437571 I think has an oversight.
When allocate memory and initialize private spool in function:
_brin_leader_participate_as_worker
The behavior is the bs_spool (heap and index fields)
are left empty.
The code affected is:
buildstate->bs_spool = (BrinSpool *) palloc0(sizeof(BrinSpool));
- buildstate->bs_spool->heap = buildstate->bs_spool->heap;
- buildstate->bs_spool->index = buildstate->bs_spool->index;
+ buildstate->bs_spool->heap = heap;
+ buildstate->bs_spool->index = index;
Is the fix correct?
best regards,
Ranier Vilela