Skip to content

Commit 7bc1fbe

Browse files
committed
Remove no-longer-used symbols.
1 parent bd52f4b commit 7bc1fbe

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/include/optimizer/internal.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
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 $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -32,9 +32,6 @@
3232
#define _CPU_PAGE_WEIGHT_ 0.033 /* CPU-heap-to-page cost weighting factor */
3333
#define _CPU_INDEX_PAGE_WEIGHT_ 0.017 /* CPU-index-to-page cost
3434
* 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) */
3835

3936
/*
4037
* Size estimates
@@ -50,9 +47,9 @@
5047
#define _NONAME_RELATION_PAGES_ 1
5148
#define _NONAME_RELATION_TUPLES_ 10
5249

53-
/* The length of a variable-length field in bytes
50+
/* The length of a variable-length field in bytes (stupid estimate...)
5451
*/
55-
#define _DEFAULT_ATTRIBUTE_WIDTH_ (2 * _TID_SIZE_)
52+
#define _DEFAULT_ATTRIBUTE_WIDTH_ 12
5653

5754
/*
5855
* Flags and identifiers
@@ -63,9 +60,6 @@
6360
/* used to be -1 */
6461
#define _NONAME_RELATION_ID_ InvalidOid
6562

66-
/* #define deactivate_joininfo(joininfo) joininfo->inactive=true*/
67-
/*#define joininfo_inactive(joininfo) joininfo->inactive */
68-
6963
/* GEQO switch according to number of relations in a query */
7064
#define GEQO_RELS 11
7165

0 commit comments

Comments
 (0)