diff options
| author | Bruce Momjian | 1999-06-17 15:16:09 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1999-06-17 15:16:09 +0000 |
| commit | 4c6538259659b6325da5205005846162c78fd593 (patch) | |
| tree | 2acae522c457c5c124fce867758b29752309a989 /src/include | |
| parent | 0c1ec674474a317c8f90a114db4111f48cc76223 (diff) | |
Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGN
for Irix.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/executor/executor.h | 8 | ||||
| -rw-r--r-- | src/include/utils/memutils.h | 16 |
2 files changed, 9 insertions, 15 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index d9bce44a03f..43c1eb53cfc 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.33 1999/05/25 16:13:53 momjian Exp $ + * $Id: executor.h,v 1.34 1999/06/17 15:15:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -89,12 +89,6 @@ extern void ExecutorEnd(QueryDesc *queryDesc, EState *estate); extern void ExecConstraints(char *caller, Relation rel, HeapTuple tuple, EState *estate); -#ifdef QUERY_LIMIT -extern int ExecutorLimit(int limit); -extern int ExecutorGetLimit(void); - -#endif - /* * prototypes from functions in execProcnode.c */ diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h index 74f00902432..20294073f1e 100644 --- a/src/include/utils/memutils.h +++ b/src/include/utils/memutils.h @@ -15,7 +15,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: memutils.h,v 1.27 1999/05/26 12:57:07 momjian Exp $ + * $Id: memutils.h,v 1.28 1999/06/17 15:15:59 momjian Exp $ * * NOTES * some of the information in this file will be moved to @@ -33,18 +33,18 @@ * There used to be some incredibly crufty platform-dependent hackery here, * but now we rely on the configure script to get the info for us. Much nicer. * - * NOTE: _ALIGN will not work if ALIGNVAL is not a power of 2. + * NOTE: TYPEALIGN will not work if ALIGNVAL is not a power of 2. * That case seems extremely unlikely to occur in practice, however. * ---------------- */ -#define _ALIGN(ALIGNVAL,LEN) (((long)(LEN) + (ALIGNVAL-1)) & ~(ALIGNVAL-1)) +#define TYPEALIGN(ALIGNVAL,LEN) (((long)(LEN) + (ALIGNVAL-1)) & ~(ALIGNVAL-1)) -#define SHORTALIGN(LEN) _ALIGN(ALIGNOF_SHORT, (LEN)) -#define INTALIGN(LEN) _ALIGN(ALIGNOF_INT, (LEN)) -#define LONGALIGN(LEN) _ALIGN(ALIGNOF_LONG, (LEN)) -#define DOUBLEALIGN(LEN) _ALIGN(ALIGNOF_DOUBLE, (LEN)) -#define MAXALIGN(LEN) _ALIGN(MAXIMUM_ALIGNOF, (LEN)) +#define SHORTALIGN(LEN) TYPEALIGN(ALIGNOF_SHORT, (LEN)) +#define INTALIGN(LEN) TYPEALIGN(ALIGNOF_INT, (LEN)) +#define LONGALIGN(LEN) TYPEALIGN(ALIGNOF_LONG, (LEN)) +#define DOUBLEALIGN(LEN) TYPEALIGN(ALIGNOF_DOUBLE, (LEN)) +#define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN)) /***************************************************************************** * oset.h -- Fixed format ordered set definitions. * |
