12th September 2019: PostgreSQL 12 Beta 4 Released!
Unsupported versions: 7.3 / 7.2
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 supported versions listed above instead.

SPI_copytupledesc

Name

SPI_copytupledesc -- Makes copy of tuple descriptor in upper Executor context

Synopsis

SPI_copytupledesc(tupdesc)

Inputs

TupleDesc tupdesc

Input tuple descriptor to be copied

Outputs

TupleDesc

Copied tuple descriptor

non-NULL if tupdesc is not NULL and the copy was successful
NULL only if tupdesc is NULL

Description

SPI_copytupledesc makes a copy of tupdesc in upper Executor context.

Usage

TBD