Code review for auto-tuned effective_cache_size.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +13 −15 |
| src/backend/optimizer/path/costsize.c | modified | +59 −47 |
| src/backend/postmaster/postmaster.c | modified | +0 −1 |
| src/backend/utils/misc/guc.c | modified | +1 −0 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −1 |
| src/include/optimizer/cost.h | modified | +0 −2 |
| src/include/utils/guc.h | modified | +3 −1 |