TupleDesc SPI_copytupledesc(TupleDesc tupdesc)
SPI_copytupledesc makes a copy
of a row descriptor in the upper executor context.
row descriptor to be copied
the copied row descriptor; NULL only
if tupdesc 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,
to report a documentation issue.