diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-04-24 09:33:23 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-04-24 09:33:23 +0300 |
commit | 62420ae7d6675453a48e408b62030b6f0780e878 (patch) | |
tree | 4bb1d4c85d43a8c84ad8874f81c33c67629ca470 /src/include/executor/executor.h | |
parent | 2c47fe16a709e01dea403643a1ff4d00c8c8c1ad (diff) | |
download | postgresql-62420ae7d6675453a48e408b62030b6f0780e878.tar.gz postgresql-62420ae7d6675453a48e408b62030b6f0780e878.zip |
Move functions related to index maintenance to separate source file.
There is enough code here to deserve a file of their own, not be buried
in the middle of execUtils.c.
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index c1e74779561..c2bf9a2940d 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -351,6 +351,16 @@ extern bool ExecRelationIsTargetRelation(EState *estate, Index scanrelid); extern Relation ExecOpenScanRelation(EState *estate, Index scanrelid, int eflags); extern void ExecCloseScanRelation(Relation scanrel); +extern void RegisterExprContextCallback(ExprContext *econtext, + ExprContextCallbackFunction function, + Datum arg); +extern void UnregisterExprContextCallback(ExprContext *econtext, + ExprContextCallbackFunction function, + Datum arg); + +/* + * prototypes from functions in execIndexing.c + */ extern void ExecOpenIndices(ResultRelInfo *resultRelInfo); extern void ExecCloseIndices(ResultRelInfo *resultRelInfo); extern List *ExecInsertIndexTuples(TupleTableSlot *slot, ItemPointer tupleid, @@ -362,11 +372,5 @@ extern bool check_exclusion_constraint(Relation heap, Relation index, EState *estate, bool newIndex, bool errorOK); -extern void RegisterExprContextCallback(ExprContext *econtext, - ExprContextCallbackFunction function, - Datum arg); -extern void UnregisterExprContextCallback(ExprContext *econtext, - ExprContextCallbackFunction function, - Datum arg); #endif /* EXECUTOR_H */ |