September 26, 2024: PostgreSQL 17 Released!
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_pfree

Name

SPI_pfree -- Frees memory in upper Executor context

Synopsis

SPI_pfree(pointer)

Inputs

void * pointer

Pointer to existing storage

Outputs

None

Description

SPI_pfree frees memory in upper Executor context.

Usage

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