|
7 | 7 | * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 |
| - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.346 2009/08/07 19:29:49 tgl Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.347 2009/08/08 16:39:17 tgl Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -5951,6 +5951,9 @@ XLogInsertAllowed(void)
|
5951 | 5951 |
|
5952 | 5952 | /*
|
5953 | 5953 | * Make XLogInsertAllowed() return true in the current process only.
|
| 5954 | + * |
| 5955 | + * Note: it is allowed to switch LocalXLogInsertAllowed back to -1 later, |
| 5956 | + * and even call LocalSetXLogInsertAllowed() again after that. |
5954 | 5957 | */
|
5955 | 5958 | staticvoid
|
5956 | 5959 | LocalSetXLogInsertAllowed(void)
|
|