Unsupported versions: 7.4
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

SPI_copytupledesc

Name

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

Synopsis

TupleDesc SPI_copytupledesc(TupleDesc tupdesc)

Description

SPI_copytupledesc makes a copy of a row descriptor in the upper executor context.

Arguments

TupleDesc tupdesc

row descriptor to be copied

Return Value

the copied row descriptor; NULL only if tupdesc is NULL