[PATCH] Introduce array_shuffle() and array_sample()

Поиск
Список
Период
Сортировка
От Martin Kalcher
Тема [PATCH] Introduce array_shuffle() and array_sample()
Дата
Msg-id 1708d95a-629e-5ac5-deab-d20a8d0b2b0e@aboutsource.net
обсуждение исходный текст
Ответ на Re: Proposal to introduce a shuffle function to intarray extension  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Introduce array_shuffle() and array_sample()  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [PATCH] Introduce array_shuffle() and array_sample()  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Thanks for all your feedback and help. I got a patch that i consider 
ready for review. It introduces two new functions:

   array_shuffle(anyarray) -> anyarray
   array_sample(anyarray, integer) -> anyarray

array_shuffle() shuffles an array (obviously). array_sample() picks n 
random elements from an array.

Is someone interested in looking at it? What are the next steps?

Martin
Вложения

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

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: Commitfest Update
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: Commitfest Update