Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97e14f6

Browse files
committed
Document that LocalSetXLogInsertAllowed can be re-executed.
Per comment from Simon.
1 parentf033f6d commit97e14f6

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
staticvoid
59565959
LocalSetXLogInsertAllowed(void)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp