aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execUtils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-14 22:03:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-14 22:03:35 +0000
commitf7ea9312877abcb508669359fa2a05fc69ec91b9 (patch)
tree5091d2d5bf06da0955d86c20038f9fa7eaf48346 /src/backend/executor/execUtils.c
parent7930e627d8aaf617f4edb8b9e4fe410cc475a93a (diff)
downloadpostgresql-f7ea9312877abcb508669359fa2a05fc69ec91b9.tar.gz
postgresql-f7ea9312877abcb508669359fa2a05fc69ec91b9.zip
Some minor code cleanup, falling out from the removal of rtree. SK_NEGATE
isn't being used anywhere anymore, and there seems no point in a generic index_keytest() routine when two out of three remaining access methods aren't using it. Also, add a comment documenting a convention for letting access methods define private flag bits in ScanKey sk_flags. There are no such flags at the moment but I'm thinking about changing btree's handling of "required keys" to use flag bits in the keys rather than a count of required key positions. Also, if some AM did still want SK_NEGATE then it would be reasonable to treat it as a private flag bit.
Diffstat (limited to 'src/backend/executor/execUtils.c')
-rw-r--r--src/backend/executor/execUtils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c
index 500ff0f4f27..bb44ffccb72 100644
--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/execUtils.c,v 1.131 2005/12/03 05:51:01 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/execUtils.c,v 1.132 2006/01/14 22:03:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -67,9 +67,7 @@ int NTupleReplaced;
int NTupleAppended;
int NTupleDeleted;
int NIndexTupleInserted;
-extern int NIndexTupleProcessed; /* have to be defined in the access
- * method level so that the
- * cinterface.a will link ok. */
+int NIndexTupleProcessed;
static void ShutdownExprContext(ExprContext *econtext);