This page in other versions: Unsupported versions: 7.1 / 7.2 / 7.3

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.

Usage

This function is no longer different from plain repalloc. It's kept just for backward compatibility of existing code.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group