Annotation of 42BSD/ingres/source/decomp/decomp.h, revision 1.1.1.1

1.1       root        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    7.2     3/5/81
                     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: /* error messages */
                     29: # define NODESCAG      4602    /* no descriptor for aggr func */
                     30: # define QBUFFULL      4610    /* Initial query buffer overflow */
                     31: # define SQBUFFULL     4612    /* sub-query buffer overflow */
                     32: # define STACKFULL     4613    /* trbuild stack overflow */
                     33: # define AGBUFFULL     4614    /* agg buffer overflow */
                     34: # define AGFTOBIG      4615    /* agg function exceeds MAXTUP or MAXDOM */
                     35: # define TOOMANYAGGS   4616    /* more than MAXAGG aggregates */
                     36: # define RETUTOBIG     4620    /* retr unique target list exceeds MAXTUP */
                     37: 
                     38: /* symbolic values for GETNXT parameter of fcn GET */
                     39: # define NXTTUP        1       /* get next tuple after one specified by tid */
                     40: 
                     41: /* flag for no result relation */
                     42: # define       NORESULT        -1
                     43: 
                     44: /* Range table slot which is always free for aggregate temp rels */
                     45: # define       FREEVAR         MAXRANGE        /* free var number for aggs */
                     46: 
                     47: /* Range table slot which is used for secondary index */
                     48: # define       SECINDVAR       MAXRANGE + 1
                     49: 
                     50: 
                     51: 
                     52: # define       FIRSTNUM        MAXRANGE + 3
                     53: # define       LASTNUM         100

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.