mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Code review for auto-tuned effective_cache_size.
Fix integer overflow issue noted by Magnus Hagander, as well as a bunch
of other infelicities in commit ee1e5662d8
and its unreasonably large number of followups.
This commit is contained in:
@@ -4305,6 +4305,7 @@ SelectConfigFiles(const char *userDoption, const char *progname)
|
||||
*/
|
||||
pg_timezone_abbrev_initialize();
|
||||
|
||||
/* Also install the correct value for effective_cache_size */
|
||||
set_default_effective_cache_size();
|
||||
|
||||
/*
|
||||
|
@@ -279,7 +279,7 @@
|
||||
#cpu_tuple_cost = 0.01 # same scale as above
|
||||
#cpu_index_tuple_cost = 0.005 # same scale as above
|
||||
#cpu_operator_cost = 0.0025 # same scale as above
|
||||
#effective_cache_size = -1
|
||||
#effective_cache_size = -1 # -1 selects auto-tuned default
|
||||
|
||||
# - Genetic Query Optimizer -
|
||||
|
||||
|
Reference in New Issue
Block a user