Re: array functions - request for opinions (was Re: [PATCHES] array
| От | Peter Eisentraut |
|---|---|
| Тема | Re: array functions - request for opinions (was Re: [PATCHES] array |
| Дата | |
| Msg-id | Pine.LNX.4.44.0305260115110.1897-100000@peter.localdomain обсуждение исходный текст |
| Ответ на | array functions - request for opinions (was Re: [PATCHES] array support patch phase 1 patch) (Joe Conway <mail@joeconway.com>) |
| Ответы |
Re: array functions - request for opinions (was Re: [PATCHES]
|
| Список | pgsql-hackers |
Joe Conway writes: > >>And in any case, array_accum() is intended to be used for building > >>custom aggregates, so that needs to be documented. > > Can you give an example of an aggregate or a class of aggregates where > > this would be useful? > There are many discussions on the lists over the past few years in which > people have requested this kind of functionality. There is even a > contrib/intagg that does this for integers only. I don't think there is > any question that there is a demand for the feature. Some examples: These applications should use an empty array as initial value. Then the normal array concatenation can be used as transition function. -- Peter Eisentraut peter_e@gmx.net
В списке pgsql-hackers по дате отправления: