Skip to content

Commit 14ca9ab

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 for shared_buffers. It's not clear how much practical effect larger settings 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 parent 08bf6e5 commit 14ca9ab

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)
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