select open change scope Open full search

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

Unsupported versions: 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.1 reached end of support in April 2006. See the current manual for supported releases.

SPI_copytuple

Name

SPI_copytuple -- Makes copy of tuple in upper Executor context

Synopsis

SPI_copytuple(tuple)

Inputs

HeapTuple tuple

Input tuple to be copied

Outputs

HeapTuple

Copied tuple

non-NULL if tuple is not NULL and the copy was successful
NULL only if tuple is NULL

Description

SPI_copytuple makes a copy of tuple in upper Executor context. See the section on Memory Management.

Usage

TBD

Report a documentation issue

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