mirror of https://github.com/citusdata/citus.git
Fix multi_logical_optimizer merge regression. aggregate_utils still needs fixing
parent
5d6ee5104b
commit
17ed25e09a
|
@ -3135,7 +3135,12 @@ AggregateFunctionOidWithoutInput(const char *functionName)
|
|||
heapTuple = systable_getnext(scanDescriptor);
|
||||
if (HeapTupleIsValid(heapTuple))
|
||||
{
|
||||
#if PG_VERSION_NUM < 120000
|
||||
functionOid = HeapTupleGetOid(heapTuple);
|
||||
#else
|
||||
Form_pg_proc procForm = (Form_pg_proc) GETSTRUCT(heapTuple);
|
||||
functionOid = procForm->oid;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (functionOid == InvalidOid)
|
||||
|
|
Loading…
Reference in New Issue