Brendan Jurd <direvus@gmail.com> writes:
> Well for what it's worth I would expect cardinality() to return the
> total number of elements in the array (per ArrayGetNItems). It's
> consistent with the spec's identification of an array as a
> "collection". You can chunk the elements into dimensions however you
> want, but it's still a collection of elements, and the cardinality is
> still the number of elements.
+1
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support