spi_copytupleintoslot
SPI_copytupleintoslot()PostgreSQL 7.4.19 DocumentationSPI_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 con-
text, returning it in the form of a filled-in TupleTableSlot struc-
ture.
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
2008-01-03 SPI_copytupleintoslot()