Re: array_length(anyarray)

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: array_length(anyarray)
Дата
Msg-id 52B20FDF.2010106@dunslane.net
обсуждение исходный текст
Ответ на array_length(anyarray)  (Marko Tiikkaja <marko@joh.to>)
Ответы Re: array_length(anyarray)
Список pgsql-hackers
On 12/18/2013 03:27 PM, Marko Tiikkaja wrote:
> Hi,
>
> Attached is a patch to add support for array_length(anyarray), which 
> only works for one-dimensional arrays, returns 0 for empty arrays and 
> complains if the array's lower bound isn't 1.  In other words, does 
> the right thing when used with the arrays people use 99% of the time.

Why the heck would it complain if the lower bound isn't 1?

cheers

andrew



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCH] SQL assertions prototype
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCH] SQL assertions prototype