Re: how to get size of array in function

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: how to get size of array in function
Дата
Msg-id 20051128151100.GA1654@kaufbach.delug.de
обсуждение исходный текст
Ответ на how to get size of array in function  (Amit Soni <amit_soni@netcore.co.in>)
Список pgsql-general
Amit Soni <amit_soni@netcore.co.in> schrieb:

> Hi list,
> i made one  function and the argument of that function is string array,
>
> now how can i get the size of that array??

Please read
http://www.postgresql.org/docs/8.1/interactive/functions-array.html

You can use array_lower/array_upper or array_dims.


HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: Franz.Rasper@izb.de
Дата:
Сообщение: Re: PostgreSQL and SAN/NAS technologies
Следующее
От: Jerry LeVan
Дата:
Сообщение: ANN: PgBrowse-1.3 is available.