diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/iqual.h | 31 | ||||
-rw-r--r-- | src/include/access/skey.h | 11 |
2 files changed, 8 insertions, 34 deletions
diff --git a/src/include/access/iqual.h b/src/include/access/iqual.h deleted file mode 100644 index 3340acb9b1e..00000000000 --- a/src/include/access/iqual.h +++ /dev/null @@ -1,31 +0,0 @@ -/*------------------------------------------------------------------------- - * - * iqual.h - * Index scan key qualification definitions. - * - * - * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * $PostgreSQL: pgsql/src/include/access/iqual.h,v 1.23 2004/12/31 22:03:21 pgsql Exp $ - * - *------------------------------------------------------------------------- - */ -#ifndef IQUAL_H -#define IQUAL_H - -#include "access/itup.h" -#include "access/skey.h" - - -/* ---------------- - * index tuple qualification support - * ---------------- - */ - -extern int NIndexTupleProcessed; - -extern bool index_keytest(IndexTuple tuple, TupleDesc tupdesc, - int scanKeySize, ScanKey key); - -#endif /* IQUAL_H */ diff --git a/src/include/access/skey.h b/src/include/access/skey.h index 61a8e81a835..f3845e55184 100644 --- a/src/include/access/skey.h +++ b/src/include/access/skey.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/skey.h,v 1.29 2005/06/24 00:18:52 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/skey.h,v 1.30 2006/01/14 22:03:35 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -69,10 +69,15 @@ typedef struct ScanKeyData typedef ScanKeyData *ScanKey; -/* ScanKeyData sk_flags */ +/* + * ScanKeyData sk_flags + * + * sk_flags bits 0-15 are reserved for system-wide use (symbols for those + * bits should be defined here). Bits 16-31 are reserved for use within + * individual index access methods. + */ #define SK_ISNULL 0x0001 /* sk_argument is NULL */ #define SK_UNARY 0x0002 /* unary operator (currently unsupported) */ -#define SK_NEGATE 0x0004 /* must negate the function result */ /* |