Re: How to iterate through arrays?

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: How to iterate through arrays?
Дата
Msg-id 3B62EE28-7AAC-11D9-8527-000A95B03262@pgedit.com
обсуждение исходный текст
Ответ на Re: How to iterate through arrays?  (NosyMan <nosyman@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: NosyMan
Дата:
Сообщение: Re: How to iterate through arrays?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: parsing a string with a hexadecimal notation