File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: internal.h,v 1.23 1999/07/25 23:07:23 tgl Exp $
9
+ * $Id: internal.h,v 1.24 2000/01/11 03:59:31 tgl Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
32
32
#define _CPU_PAGE_WEIGHT_ 0.033 /* CPU-heap-to-page cost weighting factor */
33
33
#define _CPU_INDEX_PAGE_WEIGHT_ 0.017 /* CPU-index-to-page cost
34
34
* weighting factor */
35
- #define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an
36
- * index */
37
- #define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */
38
35
39
36
/*
40
37
* Size estimates
50
47
#define _NONAME_RELATION_PAGES_ 1
51
48
#define _NONAME_RELATION_TUPLES_ 10
52
49
53
- /* The length of a variable-length field in bytes
50
+ /* The length of a variable-length field in bytes (stupid estimate...)
54
51
*/
55
- #define _DEFAULT_ATTRIBUTE_WIDTH_ (2 * _TID_SIZE_)
52
+ #define _DEFAULT_ATTRIBUTE_WIDTH_ 12
56
53
57
54
/*
58
55
* Flags and identifiers
63
60
/* used to be -1 */
64
61
#define _NONAME_RELATION_ID_ InvalidOid
65
62
66
- /* #define deactivate_joininfo(joininfo) joininfo->inactive=true*/
67
- /*#define joininfo_inactive(joininfo) joininfo->inactive */
68
-
69
63
/* GEQO switch according to number of relations in a query */
70
64
#define GEQO_RELS 11
71
65
You can’t perform that action at this time.
0 commit comments