Re: array_random - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: array_random
Date
Msg-id 9bc75fa0-b7ba-4088-909b-b074b6de6f8f@postgresfriends.org
Whole thread Raw
List 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 by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: Adding basic NUMA awareness - Preliminary feedback and outline for an extensible approach
Next
From: Tatsuo Ishii
Date:
Subject: NegotiateProtocolVersion description