↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / Array Functions And Operators

Returns a text representation of the array's dimensions.

Reading PG 18current·documented in 24 of 27 versions, 7.4 to 20

Signatures & examples

array_dims ( anyarray ) → text
Returns a text representation of the array's dimensions.
array_dims(ARRAY[[1,2,3], [4,5,6]]) → [1:2][1:3]
Version history 3
  1. 12 → 13 changed
  2. 7.4 → 8.0 changed
  3. 7.3 → 7.4 added

Definition snapshot: b7bd9cda · English manual source