Re: patch: bytea_agg - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: patch: bytea_agg
Date
Msg-id CAHyXU0zcqh3smyGASbDJb=SVng-=HrWh=Od1LzofavpOCZjaHw@mail.gmail.com
Whole thread Raw
In response to Re: patch: bytea_agg  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Fri, Dec 23, 2011 at 12:30 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> Well, because it doesn't operate on strings.
>
> I argued when we added string_agg that it ought to be called
> concat_agg, or something like that, but I got shouted down.  So now
> here we are.

+1.  Using the input type names to name the function is a mistake and
should be stopped...enough.  It's verbose and unnecessary...everything
else in sql is heavily overloaded (we don't have int_max() and
float_max()).

merlin


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Page Checksums + Double Writes
Next
From: Tom Lane
Date:
Subject: Re: 16-bit page checksums for 9.2