diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-01-27 00:05:49 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-01-27 00:05:56 -0500 |
commit | 2850896961994aa0993b9e2ed79a209750181b8a (patch) | |
tree | 8362cabe887104162cc2c4f3ac4ee3eec99608b4 /src/backend/utils/misc/guc.c | |
parent | dd515d4082876f9fcc0b6eed421dd3b6d43579be (diff) | |
download | postgresql-2850896961994aa0993b9e2ed79a209750181b8a.tar.gz postgresql-2850896961994aa0993b9e2ed79a209750181b8a.zip |
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 ee1e5662d8d8330726eaef7d3110cb7add24d058
and its unreasonably large number of followups.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r-- | src/backend/utils/misc/guc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 59f395474a6..2cc8f90e6d4 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -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(); /* |