SPI_REPALLOC(3)
π NAME π
okay bestie, we're in the PostgreSQL 18.6 Documentation and this lil page is SPI_REPALLOC(3) β¨
SPI_repalloc β reallocate memory in the upper executor context π«Ά
π¦ SYNOPSIS π¦
void * SPI_repalloc(void * pointer, Size size)
π DESCRIPTION π
okay so SPI_repalloc changes the size of a memory segment previously allocated using SPI_palloc. that's the whole vibe π«
This function is no longer different from plain repalloc. It's kept just for backward compatibility of existing code. no cap, it's giving legacy support π
πΈ ARGUMENTS πΈ
void * pointerβ pointer to existing storage to changeSize sizeβ size in bytes of storage to allocate
π RETURN VALUE π
pointer to new storage space of specified size with the contents copied from the existing area π
okay that's the whole page bestie! this came from PostgreSQL 18.6, dated 2026 β love u, bye! π π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql18-docs 18.6-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms