Skip to content

Commit 97e14f6

Browse files
committed
Document that LocalSetXLogInsertAllowed can be re-executed.
Per comment from Simon.
1 parent f033f6d commit 97e14f6

File tree

1 file changed

+4
-1
lines changed
  • src/backend/access/transam

1 file changed

+4
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
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 $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -5951,6 +5951,9 @@ XLogInsertAllowed(void)
59515951

59525952
/*
59535953
* 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.
59545957
*/
59555958
static void
59565959
LocalSetXLogInsertAllowed(void)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy