array_length ( anyarray, integer ) → integer → integerReturns the length of the requested array dimension. (Produces NULL instead of 0 for empty or missing array dimensions.)
array_length
Returns the length of the requested array dimension. (Produces NULL instead of 0 for empty or missing array dimensions.)
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
Returns the length of the requested array dimension. (Produces NULL instead of 0 for empty or missing array dimensions.)
Signatures and overloads
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:4b3046c7ac82d50dd70dbebb75bd75ec4cce615f700f86246278c87d82af7761
Text language: en · wiki-repair-20261023:4b3046c7ac82d50dd70dbebb75bd75ec4cce615f700f86246278c87d82af7761