select open change scope Open full search

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

Unsupported versions: 7.4
Historical version. PostgreSQL 7.4 reached end of support in October 2010. See the current manual for supported releases.

SPI_copytupleintoslot

Name

SPI_copytupleintoslot -- make a copy of a row and descriptor in the upper executor context

Synopsis

TupleTableSlot * SPI_copytupleintoslot(HeapTuple row, TupleDesc rowdesc)

Description

SPI_copytupleintoslot makes a copy of a row in the upper executor context, returning it in the form of a filled-in TupleTableSlot structure.

Arguments

HeapTuple row

row to be copied

TupleDesc rowdesc

row descriptor to be copied

Return Value

TupleTableSlot containing the copied row and descriptor; NULL only if row or rowdesc are NULL

Report a documentation issue

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