mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Document SPI_push() and SPI_pop().
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.110 2004/03/05 00:47:01 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.111 2004/03/17 01:05:10 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -201,12 +201,14 @@ AtEOXact_SPI(bool isCommit)
|
||||
SPI_tuptable = NULL;
|
||||
}
|
||||
|
||||
/* Pushes SPI stack to allow recursive SPI calls */
|
||||
void
|
||||
SPI_push(void)
|
||||
{
|
||||
_SPI_curid++;
|
||||
}
|
||||
|
||||
/* Pops SPI stack to allow recursive SPI calls */
|
||||
void
|
||||
SPI_pop(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user