Re: BUG #3852: Could not create complex aggregate - Mailing list pgsql-bugs

From Sokolov Yura
Subject Re: BUG #3852: Could not create complex aggregate
Date
Msg-id 47848B9D.6060805@gmail.com
Whole thread Raw
In response to Re: BUG #3852: Could not create complex aggregate  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Sorry for previous message having no comments.

Just remark:
These aggregates created successfuly both in 8.2 and 8.3beta4:

CREATE AGGREGATE array_concat(anyarray) (SFUNC=array_cat,STYPE=anyarray
);

CREATE AGGREGATE array_build(anyelement) (SFUNC=array_append,STYPE=anyarray
);

But aggregate from first letter does not:

create aggregate build_group(anyelement, int4) ( SFUNC= add_group, STYPE = anyarray
);


Excuse me for being noisy and bad English.


pgsql-bugs by date:

Previous
From: "Sokolov Yura"
Date:
Subject: BUG #3860: xpath crashes backend when is querying xmlagg result
Next
From: "Marc mamin"
Date:
Subject: BUG #3861: cannot cast type smallint to bit