Re: Review: listagg aggregate - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Review: listagg aggregate
Date
Msg-id 4B61C960.5050904@cs.helsinki.fi
Whole thread Raw
In response to Re: Review: listagg aggregate  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Review: listagg aggregate
List pgsql-hackers
On 2010-01-28 19:17, Pavel Stehule wrote:
> 2010/1/28 Hitoshi Harada <umi.tanuki@gmail.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Review: listagg aggregate
Next
From: "David E. Wheeler"
Date:
Subject: Re: Review: listagg aggregate