Hackers,

This surprised me:

    david=# select array_length('{}'::text[], 1);
     array_length 
    --------------
           [null]

I had expecte dit to retur 0. I might expect NULL for a NULL param, but not one 
that's defined but has no elements.

Best,

David

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to