Re: patch: bytea_agg - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: patch: bytea_agg
Date
Msg-id 1324667771.14547.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: patch: bytea_agg  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: patch: bytea_agg  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
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.




pgsql-hackers by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Another hstore_type idea
Next
From: Robert Haas
Date:
Subject: Re: patch: bytea_agg