1SPI_PALLOC(3)            PostgreSQL 12.2 Documentation           SPI_PALLOC(3)
2
3
4

NAME

6       SPI_palloc - allocate memory in the upper executor context
7

SYNOPSIS

9       void * SPI_palloc(Size size)
10

DESCRIPTION

12       SPI_palloc allocates memory in the upper executor context.
13
14       This function can only be used while connected to SPI. Otherwise, it
15       throws an error.
16

ARGUMENTS

18       Size size
19           size in bytes of storage to allocate
20

RETURN VALUE

22       pointer to new storage space of the specified size
23
24
25
26PostgreSQL 12.2                      2020                        SPI_PALLOC(3)
Impressum