From 17467bb7fb760e003c43f046890486ce28c1af25 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 24 Jan 1999 00:28:37 +0000 Subject: Rename Aggreg to Aggref. --- src/backend/executor/nodeAgg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/backend/executor/nodeAgg.c') diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index dbb86bb0f7d..a20ef4baa6f 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -45,7 +45,7 @@ typedef struct AggFuncInfo FmgrInfo finalfn; } AggFuncInfo; -static Datum aggGetAttr(TupleTableSlot *tuple, Aggreg *agg, bool *isNull); +static Datum aggGetAttr(TupleTableSlot *tuple, Aggref *agg, bool *isNull); /* --------------------------------------- @@ -90,7 +90,7 @@ ExecAgg(Agg *node) { AggState *aggstate; EState *estate; - Aggreg **aggregates; + Aggref **aggregates; Plan *outerPlan; int i, nagg; @@ -133,7 +133,7 @@ ExecAgg(Agg *node) nagg = length(node->aggs); - aggregates = (Aggreg **) palloc(sizeof(Aggreg *) * nagg); + aggregates = (Aggref **) palloc(sizeof(Aggref *) * nagg); /* take List* and make it an array that can be quickly indexed */ alist = node->aggs; @@ -163,7 +163,7 @@ ExecAgg(Agg *node) for (i = 0; i < nagg; i++) { - Aggreg *agg; + Aggref *agg; char *aggname; HeapTuple aggTuple; Form_pg_aggregate aggp; @@ -628,7 +628,7 @@ ExecEndAgg(Agg *node) */ static Datum aggGetAttr(TupleTableSlot *slot, - Aggreg *agg, + Aggref *agg, bool *isNull) { Datum result; -- cgit v1.2.3