Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f59f3c88994063f2199f04853447510fd44c3635
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-08-02T18:08:43Z
Releases: 7.2.1
Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie,
it copies the tupdesc into upper-executor memory.  This is necessary
for returning tuple descriptors without leaking all of lower exec memory.

Files

PathChange+/−
doc/src/sgml/spi.sgml modified +122 −4
src/backend/executor/spi.c modified +30 −3
src/include/executor/spi.h modified +13 −11