From 47318ee7e0b2a568f7daea44d080d5bd4ff1a8ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Tue, 1 Oct 2019 20:40:04 +0000 Subject: [PATCH] Fix logging messages a bit --- src/backend/distributed/utils/aggregate_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/distributed/utils/aggregate_utils.c b/src/backend/distributed/utils/aggregate_utils.c index 7ad6d8ec8..0e1eb9244 100644 --- a/src/backend/distributed/utils/aggregate_utils.c +++ b/src/backend/distributed/utils/aggregate_utils.c @@ -124,7 +124,7 @@ InitializeStypeBox(FunctionCallInfo fcinfo, StypeBox *box, HeapTuple aggTuple, O MemoryContext oldContext; if (!AggCheckCallContext(fcinfo, &aggregateContext)) { - elog(ERROR, "worker_partiail_agg_sfunc called from non aggregate context"); + elog(ERROR, "InitializeStypeBox called from non aggregate context"); } oldContext = MemoryContextSwitchTo(aggregateContext); @@ -435,7 +435,7 @@ worker_partial_agg_sfunc(PG_FUNCTION_ARGS) if (!AggCheckCallContext(fcinfo, &aggregateContext)) { elog(ERROR, - "worker_partiail_agg_sfunc called from non aggregate context"); + "worker_partial_agg_sfunc called from non aggregate context"); } oldContext = MemoryContextSwitchTo(aggregateContext); box->value = datumCopy(PG_GETARG_DATUM(2), box->transtypeByVal,