Unsupported versions: 7.3 / 7.2 / 7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

SPI_repalloc

Name

SPI_repalloc -- Re-allocates memory in upper Executor context

Synopsis

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