↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Functions

array_reverse

Reverses 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

Reverses the first dimension of the array.

Signatures and overloads

array_reverse ( anyarray ) → anyarray → anyarray
Reverses the first dimension of the array.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:ac6df8038cca27f00026495c7297468634f1a685ce80f8a883889386202a511f

Text language: en · wiki-repair-20261023:ac6df8038cca27f00026495c7297468634f1a685ce80f8a883889386202a511f