Skip site navigation (1) Skip section navigation (2)

Re: Review: listagg aggregate

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Scott Bailey <artacus(at)comcast(dot)net>
Cc: "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Review: listagg aggregate
Date: 2010-01-25 10:09:33
Message-ID: 1264414173.10169.6.camel@fsopti579.F-Secure.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On sön, 2010-01-24 at 21:29 -0800, Scott Bailey wrote:
> I think listagg or string_agg would be the most appropriate names. Oh 
> and before Oracle had wm_concat, Tom Kyte wrote a function called
> stragg that was pretty popular.

Well,

xmlagg -> concatenates values to form xml datum
array_agg -> concatenates values to form array datum
??? -> concatenates values to form string datum

So it's pretty clear that listagg does not fit into this scheme.


In response to

Responses

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2010-01-25 10:34:59
Subject: Re: Review: listagg aggregate
Previous:From: Fujii MasaoDate: 2010-01-25 10:01:52
Subject: Re: Streaming replication and a disk full in primary

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group