select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.0 / 6.5 / 6.4
Historical version. PostgreSQL 7.0 reached end of support in May 2005. See the current manual for supported releases.

SPI_repalloc

Name

SPI_repalloc — Re-allocates memory in upper Executor context
SPI_repalloc(pointer, size)

Inputs

void * pointer

Pointer to existing storage

Size size

Octet size of storage to allocate

Outputs

void *

New storage space of specified size with contents copied from existing area

Description

SPI_repalloc re-allocates memory in upper Executor context. See section on memory management.

Usage

TBD

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.