From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/spi-spi-finish.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/src/sgml/html/spi-spi-finish.html (limited to 'doc/src/sgml/html/spi-spi-finish.html') diff --git a/doc/src/sgml/html/spi-spi-finish.html b/doc/src/sgml/html/spi-spi-finish.html new file mode 100644 index 0000000..c56c351 --- /dev/null +++ b/doc/src/sgml/html/spi-spi-finish.html @@ -0,0 +1,15 @@ + +SPI_finish

SPI_finish

SPI_finish — disconnect a C function from the SPI manager

Synopsis

+int SPI_finish(void)
+

Description

+ SPI_finish closes an existing connection to + the SPI manager. You must call this function after completing the + SPI operations needed during your C function's current invocation. + You do not need to worry about making this happen, however, if you + abort the transaction via elog(ERROR). In that + case SPI will clean itself up automatically. +

Return Value

SPI_OK_FINISH

+ if properly disconnected +

SPI_ERROR_UNCONNECTED

+ if called from an unconnected C function +

\ No newline at end of file -- cgit v1.2.3