Re: array_random
Vik Fearing <vik@postgresfriends.org>
From: Vik Fearing <vik@postgresfriends.org>
To: jian he <jian.universality@gmail.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-07-05T07:32:24Z
Lists: 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