Re: Howto determin the number of elemnts of an array

Поиск
Список
Период
Сортировка
От Sven Willenberger
Тема Re: Howto determin the number of elemnts of an array
Дата
Msg-id 41FE4E53.6040308@dmv.com
обсуждение исходный текст
Ответ на Howto determin the number of elemnts of an array  (Együd Csaba <csegyud@vnet.hu>)
Ответы Re: Howto determin the number of elemnts of an array
Список pgsql-general

Együd Csaba wrote:
> Hi,
> how can I determin the number of elements of an array? I saw function
> array_dims() which returns a string value representing the dimensions of the
> array. Is there a function which returns only the number of elements as an
> integer.
>
> -- Csaba
>

array_upper(arrayname,dimension) will return the number of elements in
the specified dimension of array arrayname.

Sven


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

Предыдущее
От: Steve Wampler
Дата:
Сообщение: pg_dump in 7.2.4 with trigger functions
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: postgres session termination