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

Re: Review: listagg aggregate

From: Marko Tiikkaja <marko(dot)tiikkaja(at)cs(dot)helsinki(dot)fi>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Review: listagg aggregate
Date: 2010-01-28 17:29:04
Message-ID: 4B61C960.5050904@cs.helsinki.fi (view raw or flat)
Thread:
Lists: pgsql-hackers
On 2010-01-28 19:17, Pavel Stehule wrote:
> 2010/1/28 Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>:
>> What about get_fn_expr_arg_stable() to check if the argument is stable
>> during aggregate?
> 
> I newer know so this function exists. Now we can
> 
> a) check and allow only stable params
> b) when second parameter is stable, then store it and use it as constant.
> 
> I prefer a)

Someone might have a perfectly good use case for using different
delimiters.  I don't think it's a good idea to be artificially limiting
what you can and can't do.


Regards,
Marko Tiikkaja

In response to

Responses

pgsql-hackers by date

Next:From: David E. WheelerDate: 2010-01-28 17:30:30
Subject: Re: Review: listagg aggregate
Previous:From: Tom LaneDate: 2010-01-28 17:24:33
Subject: Re: Review: listagg aggregate

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