Re: new aggregate functions v1

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Jan Wieck <JanWieck(at)yahoo(dot)com>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: new aggregate functions v1
Date: 2004-05-17 07:33:31
Message-ID: Pine.LNX.4.58.0405170925410.19985@sablons.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cri(dot)ensmp(dot)fr

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Hammond 2004-05-17 14:20:35 Re: pg_ctl patch to integrate apache's rotatelogs
Previous Message Nikola Milutinovic 2004-05-17 07:00:39 Re: PgSQL 7.4.2 - NaN on Tru64 UNIX