Search Postgresql Archives

array_length of an empty array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hmmm. array[]::integer[] is an empty array, {}, eg an array with zero elements

but array_length(array[]::integer[]) is NULL rather than zero. this seems counterintuitive.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux