Re: patch: bytea_agg - Mailing list pgsql-hackers

From Robert Haas
Subject Re: patch: bytea_agg
Date
Msg-id CA+TgmoYkUXxHmH3Zu8-k_XArr2RWwddDs3NK+0aL28hKYfhCmw@mail.gmail.com
Whole thread Raw
In response to Re: patch: bytea_agg  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: patch: bytea_agg  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: patch: bytea_agg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Dec 23, 2011 at 2:16 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On fre, 2011-12-23 at 13:30 -0500, Robert Haas wrote:
>> 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.
>
> Sure, binary strings.  Both the SQL standard and the PostgreSQL
> documentation use that term.

I'm unimpressed by that argument, but let's see what other people think.

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: patch: bytea_agg
Next
From: "Kevin Grittner"
Date:
Subject: Re: patch: bytea_agg