From: | Sokolov Yura <funny(dot)falcon(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Joe Conway <mail(at)joeconway(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: BUG #3852: Could not create complex aggregate |
Date: | 2008-01-09 08:53:49 |
Message-ID: | 47848B9D.6060805@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Marc mamin | 2008-01-09 09:05:36 | BUG #3861: cannot cast type smallint to bit |
Previous Message | Sokolov Yura | 2008-01-09 08:39:28 | BUG #3860: xpath crashes backend when is querying xmlagg result |
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2008-01-09 10:14:27 | Re: [PATCHES] Archiver behavior at shutdown |
Previous Message | Warren Turkal | 2008-01-09 08:53:40 | timestamp refactor effort |