number of dimensions of a multi-dimensional array

Поиск
Список
Период
Сортировка
От &ru
Тема number of dimensions of a multi-dimensional array
Дата
Msg-id a2c1cdef0512010515ob1b04a0v@mail.gmail.com
обсуждение исходный текст
Ответы Re: number of dimensions of a multi-dimensional array
Список pgsql-general
Hi!

I am developing pl/pgsql functions with multi-dimensional array input
parameter.
I can use array_dims(), but it gives just the text representation of
the structure and it is not suitable when I want to iterate over the
whole array with the array_lower() and array_upper() functions. I want
to handle custom dimension/size arrays.
So my question is, how can I easily determine the number of the
dimensions of an array?

Thanks,
Andrew

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

Предыдущее
От: Tim Bunce
Дата:
Сообщение: Re: undefined behaviour for sub-transactions?
Следующее
От: marcelo Cortez
Дата:
Сообщение: Re: encoding problem