diff options
Diffstat (limited to 'src/backend/executor/spi.c')
-rw-r--r-- | src/backend/executor/spi.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index 308e74fc0b3..5f9e0e31113 100644 --- a/src/backend/executor/spi.c +++ b/src/backend/executor/spi.c @@ -417,6 +417,16 @@ SPI_rollback_and_chain(void) } /* + * SPICleanup is a no-op, kept for backwards compatibility. We rely on + * AtEOXact_SPI to cleanup. Extensions should not (need to) fiddle with the + * internal SPI state directly. + */ +void +SPICleanup(void) +{ +} + +/* * Clean up SPI state at transaction commit or abort. */ void |