Re: new aggregate functions v1

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: new aggregate functions v1
Дата
Msg-id Pine.LNX.4.58.0405170925410.19985@sablons.cri.ensmp.fr
обсуждение исходный текст
Ответ на Re: new aggregate functions v1  (Jan Wieck <JanWieck@Yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: "Потеряев И.Е."
Дата:
Сообщение: PITR Phase 1 - partial backport to 7.3.4, 7.3.5
Следующее
От: Bruce Momjian
Дата:
Сообщение: Allow relative path installs