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

From John DeSoi
Subject Re: How to iterate through arrays?
Date
Msg-id 3B62EE28-7AAC-11D9-8527-000A95B03262@pgedit.com
Whole thread Raw
In response to Re: How to iterate through arrays?  (NosyMan <nosyman@gmail.com>)
List pgsql-sql
On Feb 9, 2005, at 9:26 AM, NosyMan wrote:

> I think the problem is not there. I got the following error:
> 'ERROR:  syntax error at or near "[" at character 1234', the line is: 
> RAISE
> NOTICE '% ...',update_query_params[1];

The problem here is RAISE, NOTICE, etc. can only use simple variables 
in the format string. Try it like:

myTextVar := update_query_params[1];
NOTICE '% ...',myTextVar;


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



pgsql-sql by date:

Previous
From: NosyMan
Date:
Subject: Re: How to iterate through arrays?
Next
From: Tom Lane
Date:
Subject: Re: parsing a string with a hexadecimal notation