From 323eaf98250e2de9afb2d9f86fa841beaeb575b7 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 13 Dec 2018 21:17:53 +0100 Subject: Add some const decorations These mainly help understanding the function signatures better. --- src/include/executor/executor.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/include/executor/executor.h') diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 2feec628c03..92a10ebd5c9 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -108,17 +108,17 @@ extern bool execCurrentOf(CurrentOfExpr *cexpr, */ extern ExprState *execTuplesMatchPrepare(TupleDesc desc, int numCols, - AttrNumber *keyColIdx, - Oid *eqOperators, + const AttrNumber *keyColIdx, + const Oid *eqOperators, PlanState *parent); extern void execTuplesHashPrepare(int numCols, - Oid *eqOperators, + const Oid *eqOperators, Oid **eqFuncOids, FmgrInfo **hashFunctions); extern TupleHashTable BuildTupleHashTable(PlanState *parent, TupleDesc inputDesc, int numCols, AttrNumber *keyColIdx, - Oid *eqfuncoids, + const Oid *eqfuncoids, FmgrInfo *hashfunctions, long nbuckets, Size additionalsize, MemoryContext tablecxt, @@ -244,8 +244,8 @@ extern ExprState *ExecBuildAggTrans(AggState *aggstate, struct AggStatePerPhaseD extern ExprState *ExecBuildGroupingEqual(TupleDesc ldesc, TupleDesc rdesc, const TupleTableSlotOps *lops, const TupleTableSlotOps *rops, int numCols, - AttrNumber *keyColIdx, - Oid *eqfunctions, + const AttrNumber *keyColIdx, + const Oid *eqfunctions, PlanState *parent); extern ProjectionInfo *ExecBuildProjectionInfo(List *targetList, ExprContext *econtext, -- cgit v1.2.3