Mega Code Archive

 
Categories / PostgreSQL / Array
 

Array_dims(1 ARRAY[2,3])

postgres=# SELECT array_dims(1 || ARRAY[2,3]);  array_dims ------------  [0:2] (1 row) postgres=#