Add array_sample() and array_shuffle() functions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 888f2ea0a81ff171087bdd1c5c1eeda3b78d73d4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2023-04-07T15:47:07Z
Releases: 16.0
Add array_sample() and array_shuffle() functions.

These are useful in Monte Carlo applications.

Martin Kalcher, reviewed/adjusted by Daniel Gustafsson and myself

Discussion: https://postgr.es/m/9d160a44-7675-51e8-60cf-6d64b76db831@aboutsource.net

Files

Documentation touched

Discussion