Re: Combining Aggregates - Mailing list pgsql-hackers

From Haribabu Kommi
Subject Re: Combining Aggregates
Date
Msg-id CAJrrPGcWjFOKBW47GVREBcphgcZ7-vjknFB2o5y013WSXQhNDQ@mail.gmail.com
Whole thread Raw
In response to Re: Combining Aggregates  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Combining Aggregates  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
On Fri, Jan 15, 2016 at 3:34 PM, David Rowley
<david.rowley@2ndquadrant.com> wrote:
> On 8 January 2016 at 22:43, David Rowley <david.rowley@2ndquadrant.com>
> wrote:
>>
>> I've attached some re-based patched on current master. This is just to fix
>> a duplicate OID problem.
>>
>
> I've attached two updated patched to fix a conflict with a recent change to
> planner.c

I am getting following compilation error and warning with the latest patch,
because of a function prototype mismatch.

aggregatecmds.c: In function ‘DefineAggregate’:
aggregatecmds.c:93:8: warning: variable ‘serialTypeType’ set but not
used [-Wunused-but-set-variable] char  serialTypeType = 0;       ^
clauses.c:434:1: error: conflicting types for ‘partial_aggregate_walker’partial_aggregate_walker(Node *node,
partial_agg_context*context)^ 
clauses.c:100:13: note: previous declaration of
‘partial_aggregate_walker’ was herestatic bool partial_aggregate_walker(Node *node, void *context);            ^

Regards,
Hari Babu
Fujitsu Australia



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Combining Aggregates
Next
From: Chapman Flack
Date:
Subject: Re: Proposal: BSD Authentication support