Unsupported versions: 7.3 / 7.2
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 supported versions listed above instead.

SPI_copytupleintoslot

Name

SPI_copytupleintoslot -- Makes copy of tuple and descriptor in upper Executor context

Synopsis

SPI_copytupleintoslot(tuple, tupdesc)

Inputs

HeapTuple tuple

Input tuple to be copied

TupleDesc tupdesc

Input tuple descriptor to be copied

Outputs

TupleTableSlot *

Tuple slot containing copied tuple and descriptor

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

Description

SPI_copytupleintoslot makes a copy of tuple in upper Executor context, returning it in the form of a filled-in TupleTableSlot.

Usage

TBD