SPI_palloc(size)
Octet size of storage to allocate
New storage space of specified size
SPI_palloc allocates memory in upper Executor context. See section on memory management.
TBD
Read the upstream documentation. For corrections, first check the current manual.