projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c50e1e
)
Document that LocalSetXLogInsertAllowed can be re-executed.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 8 Aug 2009 16:39:17 +0000
(16:39 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 8 Aug 2009 16:39:17 +0000
(16:39 +0000)
Per comment from Simon.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 3f5331758afd3a5aa21ba2feed2071804924cc49..528c205f6fb8abc0346d7cc583b72ae5ec8482f6 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-5951,6
+5951,9
@@
XLogInsertAllowed(void)
/*
* Make XLogInsertAllowed() return true in the current process only.
+ *
+ * Note: it is allowed to switch LocalXLogInsertAllowed back to -1 later,
+ * and even call LocalSetXLogInsertAllowed() again after that.
*/
static void
LocalSetXLogInsertAllowed(void)