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
- alpine 3.23: postgresql18-doc 18.6-r0 Β· PostgreSQL
- alpine 3.24: postgresql18-doc 18.6-r0 Β· PostgreSQL
- arch rolling: postgresql 18.6-4 Β· PostgreSQL
- fedora 43: postgresql-server-devel 18.6-1.fc43 Β· PostgreSQL
- fedora 43: postgresql-server-devel 18.6-1.fc43 Β· PostgreSQL
- fedora 44: postgresql-server-devel 18.6-1.fc44 Β· PostgreSQL
- fedora 44: postgresql-server-devel 18.6-1.fc44 Β· PostgreSQL
- nixos 26.05: postgresql 18.6
- ubuntu resolute: postgresql-doc-18 18.6-0ubuntu0.26.04.1 Β· PostgreSQL
- ubuntu stonking: postgresql-doc-18 18.6-3build2 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms