diff options
author | Tom Lane | 2009-08-08 16:39:17 +0000 |
---|---|---|
committer | Tom Lane | 2009-08-08 16:39:17 +0000 |
commit | 4d0015c5f1ea2253206e93b44ed13c1a5f6b8114 (patch) | |
tree | 65ef1ebf738c796ddc2b2cdd271fe2c23e163eb5 | |
parent | 3c50e1e69183a799dfb9edaaee4af011b640b043 (diff) |
Document that LocalSetXLogInsertAllowed can be re-executed.
Per comment from Simon.
-rw-r--r-- | src/backend/access/transam/xlog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3f5331758a..528c205f6f 100644 --- 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) |