Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)

Поиск
Список
Период
Сортировка
От Alex Hunsaker
Тема Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)
Дата
Msg-id AANLkTinV3VachETZN4Kr1GGUDcVFzEJaEcGO0a=c1cD1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)  (Thom Brown <thom@linux.com>)
Ответы Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Aug 4, 2010 at 16:33, Thom Brown <thom@linux.com> wrote:

> I was afraid that the function would be pulled completely, but from
> looking at the patch, you're only removing the function with a
> single-parameter signature, which is quite innocuous.  So I'm "for"
> now.

Ahh, Now I see why you were worried about people calling you a witch :)

On another note, I do wonder if we could avoid more confusion by just
reordering the arguments.  In-fact I bet the original argument
ordering was done precisely so it would match the 1 argument version.

I dunno about anyone else but (a, ',' order by a) just looks weird.

Or in other words, any thoughts on:
select string_agg(delim, expression);

I don't want to stretch this out, but while we are making changes...


В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Two different methods of sneaking non-immutable data into an index