Re: array_random

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: array_random
Дата
Msg-id 9bc75fa0-b7ba-4088-909b-b074b6de6f8f@postgresfriends.org
обсуждение исходный текст
Список pgsql-hackers


On 30/06/2025 17:04, jian he wrote:
reasons for adding array_random is:
1. This is better than array_fill. This can fill random and constant
values (random, min and max the same).
2.  Building a multi-dimensional PL/pgSQL function equivalent to
array_random is not efficient and is also not easier.


I am not against this at all, but what is the actual use case?

-- 

Vik Fearing

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