mirror of https://github.com/citusdata/citus.git
make compatible with pg14
parent
7ee4646e96
commit
29010333cf
|
@ -502,10 +502,12 @@ PathBasedPlannerRelationHook(PlannerInfo *root,
|
||||||
|
|
||||||
/* TODO figure out costing for our grouping */
|
/* TODO figure out costing for our grouping */
|
||||||
AggClauseCosts costs = {
|
AggClauseCosts costs = {
|
||||||
|
#if PG_VERSION_NUM < 140000
|
||||||
.numAggs = numAggs,
|
.numAggs = numAggs,
|
||||||
.numOrderedAggs = 0,
|
.numOrderedAggs = 0,
|
||||||
.hasNonPartial = false,
|
.hasNonPartial = false,
|
||||||
.hasNonSerial = false,
|
.hasNonSerial = false,
|
||||||
|
#endif
|
||||||
|
|
||||||
.transCost.startup = 0,
|
.transCost.startup = 0,
|
||||||
.transCost.per_tuple = 0,
|
.transCost.per_tuple = 0,
|
||||||
|
|
Loading…
Reference in New Issue