Re: patch: bytea_agg

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2011-12-23T17:51:38Z
Lists: pgsql-hackers
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.