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
Historical version. PostgreSQL 7.3 reached end of support in November 2007. See the current manual for supported releases.

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

Report a documentation issue

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