Guy Fraser <guy(at)incentre(dot)net> writes:
> So to answer his question he would likely want :
>
> SELECT
> array_upper(item,1) - array_upper(item,0) + 1 as elements
> FROM
> arraytest ;
Note that this doesn't work for empty arrays.
It will return NULL instead of 0.
--
greg