Re: array_random - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: array_random
Date
Msg-id [email protected]
Whole thread Raw
Responses Re: array_random
Re: array_random
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: Alvaro Herrera
Date:
Subject: Re: [HACKERS] pg_upgrade failed with error - ERROR: column "a" in child table must be marked NOT NULL