HeapTuple SPI_copytuple(HeapTuple row)
SPI_copytuple makes a copy of a row in the upper executor context.
SPI_copytuple
row to be copied
the copied row; NULL only if tuple is NULL
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.