Silly oversight in commit
1dc5ebc9077ab742079ce5dac9a6664248d42916:
when array2 is an expanded array, it might have array2->xpn.dnulls equal
to NULL, indicating the array is known null-free. The code wasn't
expecting that, because it formerly always used deconstruct_array() which
always delivers a nulls array.
Per bug #13334 from Regina Obe.
for (j = 0; j < nelems2; j++)
{
Datum elt2 = values2[j];
- bool isnull2 = nulls2[j];
+ bool isnull2 = nulls2 ? nulls2[j] : false;
bool oprresult;
if (isnull2)