Understood, and backwards compatibility also of course. Thank you
On Fri, Dec 2, 2016 at 7:20 PM, Tom Lane wrote:
> otar shavadze writes:
> > SELECT ARRAY_LENGTH('{}'::INT[], 1)
> > This returns NULL, not so "dangerous" either way, not would be more
> > logically, if array length function wi
otar shavadze writes:
> SELECT ARRAY_LENGTH('{}'::INT[], 1)
> This returns NULL, not so "dangerous" either way, not would be more
> logically, if array length function will return 0 from empty array,
> instead of NULL ?
Well, the issue is that you're asking about dimension 1 of a
zero-dimension