SPI_palloc

Name

SPI_palloc -- allocate memory in the upper executor context

Synopsis

void * SPI_palloc(Size size)

Description

Note: At present, this section is just taken from PostgreSQL documentation and is subject to revision for Postgres-XC.

SPI_palloc allocates memory in the upper executor context.

Arguments

Note: At present, this section is just taken from PostgreSQL documentation and is subject to revision for Postgres-XC.

Size size

size in bytes of storage to allocate

Return Value

Note: At present, this section is just taken from PostgreSQL documentation and is subject to revision for Postgres-XC.

pointer to new storage space of the specified size