1SPI_REPALLOC(3)          PostgreSQL 12.6 Documentation         SPI_REPALLOC(3)
2
3
4

NAME

6       SPI_repalloc - reallocate memory in the upper executor context
7

SYNOPSIS

9       void * SPI_repalloc(void * pointer, Size size)
10

DESCRIPTION

12       SPI_repalloc changes the size of a memory segment previously allocated
13       using SPI_palloc.
14
15       This function is no longer different from plain repalloc. It's kept
16       just for backward compatibility of existing code.
17

ARGUMENTS

19       void * pointer
20           pointer to existing storage to change
21
22       Size size
23           size in bytes of storage to allocate
24

RETURN VALUE

26       pointer to new storage space of specified size with the contents copied
27       from the existing area
28
29
30
31PostgreSQL 12.6                      2021                      SPI_REPALLOC(3)
Impressum