Re: About the behavior of array_length() for empty array

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: About the behavior of array_length() for empty array
Дата
Msg-id CA+Tgmob29VhwqYmnP3dHp=OCHeP37Cxovv0LsOvT99qQHO6y2g@mail.gmail.com
обсуждение исходный текст
Ответ на About the behavior of array_length() for empty array  ("iihero" <iihero@qq.com>)
Список pgsql-hackers
On Thu, Apr 5, 2012 at 8:35 PM, iihero <iihero@qq.com> wrote:
> From this point of view, seems N dimensions of empty array all are
> equivalent.

Yes.  It's effectively viewed as a 0-dimensional array.

> Is there standard definition of this behavior?

No.  Multi-dimensional arrays are a PostgreSQL extension.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Deprecating non-select rules (was Re: Last gasp)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Potential for bugs while using COPY_POINTER_FIELD to copy NULL pointer