1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-24 09:27:52 +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:
Tom Lane
2014-01-27 00:05:49 -05:00
parent dd515d4082
commit 2850896961
7 changed files with 78 additions and 68 deletions

View File

@@ -27,8 +27,6 @@
#define DEFAULT_CPU_INDEX_TUPLE_COST 0.005
#define DEFAULT_CPU_OPERATOR_COST 0.0025
#define DEFAULT_EFFECTIVE_CACHE_SIZE_MULTI 4
typedef enum
{
CONSTRAINT_EXCLUSION_OFF, /* do not use c_e */