Re: patch: bytea_agg - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: patch: bytea_agg
Date
Msg-id 1333570820.10072.18.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: patch: bytea_agg  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: patch: bytea_agg
List pgsql-hackers
On fre, 2011-12-23 at 19:51 +0200, Peter Eisentraut 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.

Here is a patch to do the renaming.  As it stands, it fails the
opr_sanity regression test, because that complains that there are now
two aggregate functions string_agg with different number of arguments.
It seems to me that that test should really only complain if the common
argument types of the two aggregates are the same, correct?


Attachment

pgsql-hackers by date:

Previous
From: Jay Levitt
Date:
Subject: Re: Switching to Homebrew as recommended Mac install?
Next
From: Simon Riggs
Date:
Subject: Re: patch: improve SLRU replacement algorithm