aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/spi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/executor/spi_priv.h')
-rw-r--r--src/include/executor/spi_priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/executor/spi_priv.h b/src/include/executor/spi_priv.h
index 64f8a450eb5..263c8f14539 100644
--- a/src/include/executor/spi_priv.h
+++ b/src/include/executor/spi_priv.h
@@ -36,6 +36,10 @@ typedef struct
MemoryContext savedcxt; /* context of SPI_connect's caller */
SubTransactionId connectSubid; /* ID of connecting subtransaction */
QueryEnvironment *queryEnv; /* query environment setup for SPI level */
+
+ /* transaction management support */
+ bool atomic; /* atomic execution context, does not allow transactions */
+ bool internal_xact; /* SPI-managed transaction boundary, skip cleanup */
} _SPI_connection;
/*