Postgresql 中文操作指南

SPI_freetuple

SPI_freetuple — 释放在上层执行程序上下文中分配的行

SPI_freetuple — free a row allocated in the upper executor context

Synopsis

void SPI_freetuple(HeapTuple row)

Description

SPI_freetuple 释放以前在上层执行程序上下文中分配的行。

SPI_freetuple frees a row previously allocated in the upper executor context.

此函数不再与普通的 heap_freetuple 有任何区别。仅出于现有代码的向后兼容性而保留。

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

Arguments

  • HeapTuple _row_

    • row to free