Re: Review: listagg aggregate
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: "David E. Wheeler" <david@kineticode.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Scott Bailey <artacus@comcast.net>, "pgsql-hackers@postgresql.org Hackers" <pgsql-hackers@postgresql.org>
Date: 2010-01-26T12:03:25Z
Lists: pgsql-hackers
On tis, 2010-01-26 at 03:08 -0800, David E. Wheeler wrote: > On Jan 25, 2010, at 23:14, Pavel Stehule <pavel.stehule@gmail.com> > wrote: > > > why is concat_agg better than listagg ? > > Because it's an aggregate that cocatenates values. It's not an > aggregate that lists things. I also like concat_agg better than > string_agg because it's not limited to acting on strings. What else can it act on?