Re: Review: listagg aggregate
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, "David E. Wheeler" <david@kineticode.com>, Peter Eisentraut <peter_e@gmx.net>, Scott Bailey <artacus@comcast.net>, "pgsql-hackers@postgresql.org Hackers" <pgsql-hackers@postgresql.org>
Date: 2010-01-26T16:03:57Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes: > 2010/1/25 Robert Haas <robertmhaas@gmail.com>: >> On Mon, Jan 25, 2010 at 2:27 PM, David E. Wheeler <david@kineticode.com> wrote: >>> concat_agg(). >> >> I like that one... > why is concat_agg better than listagg ? It isn't ... it's the wrong part of speech. "concat"enate is a verb, whereas the other functions we would like it to be named parallel to are using nouns there. (Yes, I know "array" can be used as a verb, but I don't think anyone reads it that way in "array_agg"...) regards, tom lane