Re: patch: bytea_agg - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: patch: bytea_agg
Date
Msg-id 1334166415.25392.14.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: patch: bytea_agg  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: patch: bytea_agg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On lör, 2012-04-07 at 10:38 -0400, Tom Lane wrote:
> > Nevertheless, the problem would now be that adding string_agg(bytea)
> > would effectively forbid adding string_agg(bytea, delim) in the
> future.
> > So making a two-argument string_agg(bytea, bytea) now seems like the
> > best solution anyway.  (This applies independently of the function
> > renaming, actually.)
>
> Hm.  So are you now suggesting we should get rid of one-argument
> bytea_agg and replace it with two-argument string_agg(bytea,bytea)?
> I could support that, since we've not released bytea_agg yet.

Yes, that looks like the best solution.  Here is a patch for that.

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Last gasp
Next
From: Tom Lane
Date:
Subject: Re: patch: bytea_agg