Re: Review: listagg aggregate

David E. Wheeler <david@kineticode.com>

From: "David E. Wheeler" <david@kineticode.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, Scott Bailey <artacus@comcast.net>, "pgsql-hackers@postgresql.org Hackers" <pgsql-hackers@postgresql.org>
Date: 2010-01-26T11:08:16Z
Lists: pgsql-hackers
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.

Best,

David