Thread: pgsql/ oc/src/sgml/spi.sgml rc/backend/executo ...

pgsql/ oc/src/sgml/spi.sgml rc/backend/executo ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/08/02 14:08:43

Modified files:
    doc/src/sgml   : spi.sgml
    src/backend/executor: spi.c
    src/include/executor: spi.h

Log message:
    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.