Re: new aggregate functions v1 - Mailing list pgsql-patches

From Fabien COELHO
Subject Re: new aggregate functions v1
Date
Msg-id Pine.LNX.4.58.0405170925410.19985@sablons.cri.ensmp.fr
Whole thread Raw
In response to Re: new aggregate functions v1  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-patches
Dear Jan,

> > You may also notice that the impact in close to void, there are two lines
> > added for each of these bit_* functions. I'm not going to develop an
> > external package for 16 lines of code.
>
> Maybe I'm missing something, but what is wrong with installing these
> functions on demand as user defined functions? After all, even PL/pgSQL
> is still an external package ... sort of at least.

By external, I mean with a separate distribution, which is the result if
the addition is rejected. I could try to submit to contrib, but the
current status is that part is that it should be "reduced" or even
disappear, so I'm no that confident that it would be accepted either.

If you are a user and you need a bit_*, then you look in the doc. In the
aggregate function documentation, you'll find no such function, so then
you turn to the "how to add an aggregate function". Things there are very
interesting, but it is a little bit overshot for a simple basic aggregate.

Have a nice day,

--
Fabien Coelho - coelho@cri.ensmp.fr

pgsql-patches by date:

Previous
From: "Потеряев И.Е."
Date:
Subject: PITR Phase 1 - partial backport to 7.3.4, 7.3.5
Next
From: Bruce Momjian
Date:
Subject: Allow relative path installs