1: /*
2: ** This header file contains all the defined constant
3: ** and special structures used by decomposition. Certain
4: ** global variables which are referenced by many modules
5: ** are also included. By convention global names always
6: ** begin with a capital letter.
7: **
8: ** Version:
9: ** @(#)decomp.h 8.2 2/8/85
10: */
11:
12:
13: # include <pv.h>
14:
15:
16:
17: # define OVHDP 2 /* overhead for a projection */
18: # define OVHDM 10 /* overhead for a modify */
19:
20: # define MAXRELN 6 /* size of relation descriptor cache */
21:
22: # define QBUFSIZ 2000 /* buffer size (bytes) of original query tree */
23: # define SQSIZ 10000 /* buffer size for tree copies + sub-queries */
24: # define AGBUFSIZ 350 /* buffer size for temp agg tree components */
25: # define PBUFSIZE 500 /* size of parameter buffer area for setp() */
26: # define PARGSIZE PV_MAXPC /* max number of arguments for setp() */
27:
28: /* symbolic values for GETNXT parameter of fcn GET */
29: # define NXTTUP 1 /* get next tuple after one specified by tid */
30:
31: /* flag for no result relation */
32: # define NORESULT -1
33:
34: /* Range table slot which is always free for aggregate temp rels */
35: # define FREEVAR MAXRANGE /* free var number for aggs */
36:
37: /* Range table slot which is used for secondary index */
38: # define SECINDVAR MAXRANGE + 1
39:
40:
41:
42: # define FIRSTNUM MAXRANGE + 3
43: # define LASTNUM 100
Defined macros
OVHDM
defined in line
18; used 2 times
OVHDP
defined in line
17; used 3 times
SQSIZ
defined in line
23; used 2 times
Usage of this include