【资源池化】#I8EESS
修复查询目标列包含函数group_concat,数据库coredump
This commit is contained in:
committed by
quemingjian (C)
parent
c21941f3a5
commit
faaaba46a3
@ -3893,7 +3893,7 @@ static void exec_lookups_agg(AggState *aggstate, Agg *node, EState *estate)
|
||||
#ifdef USE_SPQ
|
||||
/* Final function only required if we're finalizing the aggregates */
|
||||
if (t_thrd.spq_ctx.spq_role != ROLE_UTILITY) {
|
||||
if (DO_AGGSPLIT_SKIPFINAL(aggstate->aggsplittype) && peraggstate->aggref->aggfnoid != STRINGAGGFUNCOID)
|
||||
if (DO_AGGSPLIT_SKIPFINAL(aggstate->aggsplittype))
|
||||
peraggstate->finalfn_oid = finalfn_oid = InvalidOid;
|
||||
else
|
||||
peraggstate->finalfn_oid = finalfn_oid = aggform->aggfinalfn;
|
||||
|
||||
Reference in New Issue
Block a user