Re: How to loop though an array plpgsql?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: How to loop though an array plpgsql?
Дата
Msg-id 20050730131505.GA65221@winnie.fuhr.org
обсуждение исходный текст
Ответ на How to loop though an array plpgsql?  (Matthew Schumacher <matt.s@aptalaska.net>)
Список pgsql-sql
On Fri, Jul 29, 2005 at 03:39:12PM -0800, Matthew Schumacher wrote:
> I need to loop though an input array, but can't figure out how to do it,
> the docs aren't really clear on this.

This comes up from time to time -- search the archives to see past
discussion.  Suggestions usually involve array_lower() and array_upper().

http://archives.postgresql.org/
http://www.postgresql.org/docs/8.0/static/functions-array.html

If you're using integers then see also the int_array_enum() function
in the contrib/intagg module.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


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

Предыдущее
От: Kyle Bateman
Дата:
Сообщение: bug in information_schema?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in information_schema?