How to iterate through arrays? - Mailing list pgsql-sql

From NosyMan
Subject How to iterate through arrays?
Date
Msg-id 200502091559.08997.nosyman@gmail.com
Whole thread Raw
Responses Re: How to iterate through arrays?  (PFC <lists@boutiquenumerique.com>)
List pgsql-sql
Hi there,

I'm trying to iterate through arrays in PL/PGSQL:
....DECLARE    update_query CHAR;    update_query_params CHAR ARRAY[6];BEGIN        update_query_params[1]:='some
text';                       RAISE NOTICE 'Testing element %', update_query_params[1];END
 
.....


It does not 'compile'... :-(. Can you tell me what is the problem?

Thanks,
Nosy


pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: parsing a string with a hexadecimal notation
Next
From: PFC
Date:
Subject: Re: How to iterate through arrays?