PostgreSQL Manual
This manual is provided as a courtesy. It is not an official source. Please check postgresql.org for updated information.
void SPI_pop(void)
SPI_pop pops the previous environment from the SPI call stack. See SPI_push.
SPI_pop
SPI_push