18th October 2018: PostgreSQL 11 Released!
Unsupported versions: 7.4

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