aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execGrouping.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor/execGrouping.c')
-rw-r--r--src/backend/executor/execGrouping.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/executor/execGrouping.c b/src/backend/executor/execGrouping.c
index abce1e95cb6..efe8c30383d 100644
--- a/src/backend/executor/execGrouping.c
+++ b/src/backend/executor/execGrouping.c
@@ -59,8 +59,8 @@ static int TupleHashTableMatch(struct tuplehash_hash *tb, const MinimalTuple tup
ExprState *
execTuplesMatchPrepare(TupleDesc desc,
int numCols,
- AttrNumber *keyColIdx,
- Oid *eqOperators,
+ const AttrNumber *keyColIdx,
+ const Oid *eqOperators,
PlanState *parent)
{
Oid *eqFunctions = (Oid *) palloc(numCols * sizeof(Oid));
@@ -94,7 +94,7 @@ execTuplesMatchPrepare(TupleDesc desc,
*/
void
execTuplesHashPrepare(int numCols,
- Oid *eqOperators,
+ const Oid *eqOperators,
Oid **eqFuncOids,
FmgrInfo **hashFunctions)
{
@@ -153,7 +153,7 @@ TupleHashTable
BuildTupleHashTable(PlanState *parent,
TupleDesc inputDesc,
int numCols, AttrNumber *keyColIdx,
- Oid *eqfuncoids,
+ const Oid *eqfuncoids,
FmgrInfo *hashfunctions,
long nbuckets, Size additionalsize,
MemoryContext tablecxt, MemoryContext tempcxt,