Re: Problem with the use of Array and Loop

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with the use of Array and Loop
Дата
Msg-id 3692.1050675074@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem with the use of Array and Loop  ("Benjamin RICHARD" <benjamin@intradot.com>)
Список pgsql-general
"Benjamin RICHARD" <benjamin@intradot.com> writes:
> To do this i create the following function which return me a parse error
> near '[' (in the Raise notice line)
> What mistake did i do ?

IIRC, the RAISE NOTICE command is incapable of evaluating expressions;
it can only handle trivial variable references.  Do something useful
with the array element instead of RAISE ...

            regards, tom lane


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

Предыдущее
От: Patrick Welche
Дата:
Сообщение: explain ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: explain ?