array_shuffle ( anyarray ) → anyarray → anyarrayRandomly shuffles the first dimension of the array.
array_shuffle
Randomly shuffles the first dimension of the array.
English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- group
- array
- group label
- Array Functions And Operators
- lang
- en
- layout
- table-new
- pages
- functions-array.html
- prose only
- false
Definition PG 18
Randomly shuffles the first dimension of the array.
Signatures and overloads
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:78d5488db9064e06eb10b6532fff13e5dcbddb19042e69398f84a3ab9f26588f
Text language: en · wiki-repair-20261023:78d5488db9064e06eb10b6532fff13e5dcbddb19042e69398f84a3ab9f26588f