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

Commit14ca9ab

Browse files
committed
Increase upper bound for bgwriter_lru_maxpages.
There is no particularly good reason to limit this value to 1000,so increase the limit to INT_MAX / 2, the same limit we use forshared_buffers. It's not clear how much practical effect largersettings will have, but there seems no harm in letting people try it.Jim Nasby, less a comment change I stripped out.Discussion:http://postgr.es/m/f6e58a22-030b-eb8a-5457-f62fb08d701c@BlueTreble.com
1 parent08bf6e5 commit14ca9ab

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,7 @@ static struct config_int ConfigureNamesInt[] =
24192419
NULL
24202420
},
24212421
&bgwriter_lru_maxpages,
2422-
100,0,1000,
2422+
100,0,INT_MAX /2,/* Same upper limit as shared_buffers */
24232423
NULL,NULL,NULL
24242424
},
24252425

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp