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

Commitb26738b

Browse files
committed
Change Assert() to a plain test and elog, just to see if that works
around the icc bug exhibited by buildfarm member dugong.
1 parent133d77a commitb26738b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/postmaster/bgwriter.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.44 2007/09/25 20:03:37 tgl Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.45 2007/10/04 15:37:44 tgl Exp $
4141
*
4242
*-------------------------------------------------------------------------
4343
*/
@@ -996,7 +996,8 @@ ForwardFsyncRequest(RelFileNode rnode, BlockNumber segno)
996996
if (!IsUnderPostmaster)
997997
return false;/* probably shouldn't even get here */
998998

999-
Assert(!am_bg_writer);
999+
if (am_bg_writer)
1000+
elog(ERROR,"ForwardFsyncRequest must not be called in bgwriter");
10001001

10011002
LWLockAcquire(BgWriterCommLock,LW_EXCLUSIVE);
10021003

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp