*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.4 1996/11/08 05:59:40 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.5 1997/03/02 01:34:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
for (j = 0, dmax[i] = 1; j < N; j++)
if (dmax[i] < A[j][i])
dmax[i] = A[j][i];
- csize = _PAGE_SIZE_/baseSize;
+ csize = BLCKSZ/baseSize;
_FindBestChunk (csize, dmax, d, ndim, A, N);
}
#ifdef LOARRAY
-static char a_chunk[_PAGE_SIZE_ + 4]; /* 4 since a_chunk is in
+static char a_chunk[BLCKSZ + 4]; /* 4 since a_chunk is in
varlena format */
#endif
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: internal.h,v 1.2 1996/11/06 10:30:18 scrappy Exp $
+ * $Id: internal.h,v 1.3 1997/03/02 01:34:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
*
*/
#define _CPU_PAGE_WEIGHT_ 0.065 /* CPU-to-page cost weighting factor */
-#define _PAGE_SIZE_ 8192 /* BLCKSZ (from ../h/bufmgr.h) */
#define _MAX_KEYS_ INDEX_MAX_KEYS /* maximum number of keys in an index */
#define _TID_SIZE_ 6 /* sizeof(itemid) (from ../h/itemid.h) */