aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-10-08 16:16:36 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-10-08 16:16:36 -0400
commit82ff0cc91d9840d1c56ca1beed58bedfde3da9a3 (patch)
tree005702660dc609455ece3fb423e9f74c15d43edb /src/include/executor
parent6eb3eb577d76b3f58a98f78232af9e86624ce5eb (diff)
downloadpostgresql-82ff0cc91d9840d1c56ca1beed58bedfde3da9a3.tar.gz
postgresql-82ff0cc91d9840d1c56ca1beed58bedfde3da9a3.zip
Advance transaction timestamp for intra-procedure transactions.
Per discussion, this behavior seems less astonishing than not doing so. Peter Eisentraut and Tom Lane Discussion: https://postgr.es/m/20180920234040.GC29981@momjian.us
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/spi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/executor/spi.h b/src/include/executor/spi.h
index 143a89a16c4..b16440cf004 100644
--- a/src/include/executor/spi.h
+++ b/src/include/executor/spi.h
@@ -166,5 +166,6 @@ extern void SPI_rollback(void);
extern void SPICleanup(void);
extern void AtEOXact_SPI(bool isCommit);
extern void AtEOSubXact_SPI(bool isCommit, SubTransactionId mySubid);
+extern bool SPI_inside_nonatomic_context(void);
#endif /* SPI_H */