PG Bug reporting form <noreply@postgresql.org> writes:
> In the file /src/include/lib/simplehash.h, within the SH_STAT() function,
> there is a call to palloc0() that may return NULL:
> uint32 *collisions = (uint32 *) palloc0(tb->size * sizeof(uint32));
palloc and its variants do not return NULL, unless you specify
MCXT_ALLOC_NO_OOM, which this call does not.
regards, tom lane