1SPI_REPALLOC(3) PostgreSQL 11.6 Documentation SPI_REPALLOC(3)
2
3
4
6 SPI_repalloc - reallocate memory in the upper executor context
7
9 void * SPI_repalloc(void * pointer, Size size)
10
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
19 void * pointer
20 pointer to existing storage to change
21
22 Size size
23 size in bytes of storage to allocate
24
26 pointer to new storage space of specified size with the contents copied
27 from the existing area
28
29
30
31PostgreSQL 11.6 2019 SPI_REPALLOC(3)