Hi,
> Maybe you could try popcount for this?
>
> hasnull = (pg_popcount((char *) isnull, numberOfAttributes) > 0);
It seems that pg_popcount() cannot early return when we find a nonzero value, so I don't
think it's a good choice for this case.
--
Regards,
ChangAo Chen