Re: patch: bytea_agg

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: patch: bytea_agg
Дата
Msg-id CA+TgmoYrxwd8Lv0Qj-6RK80gYzMRtOgy6mjwhUT4ELTGZ+4m0g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: patch: bytea_agg  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: patch: bytea_agg  (Peter Eisentraut <peter_e@gmx.net>)
Re: patch: bytea_agg  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
On Fri, Dec 23, 2011 at 12:51 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On ons, 2011-12-21 at 11:04 +0100, Pavel Stehule wrote:
>> this patch adds a bytea_agg aggregation.
>>
>> It allow fast bytea concatetation.
>
> Why not call it string_agg?  All the function names are the same between
> text and bytea (e.g., ||, substr, position, length).  It would be nice
> not to introduce arbitrary differences.

Well, because it doesn't operate on strings.

I argued when we added string_agg that it ought to be called
concat_agg, or something like that, but I got shouted down.  So now
here we are.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: patch: bytea_agg
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Page Checksums + Double Writes