Re: Anything akin to an Evaluate Statement in Postgresql?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Anything akin to an Evaluate Statement in Postgresql?
Дата
Msg-id 16273.1073404619@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Anything akin to an Evaluate Statement in Postgresql?  (A E <cooljoint@yahoo.com>)
Ответы Re: Anything akin to an Evaluate Statement in Postgresql?  (A E <cooljoint@yahoo.com>)
Список pgsql-hackers
A E <cooljoint@yahoo.com> writes:
> I tried to use a for in loop to execute the statement to try to get some dynamic functionality but I get "ERROR:
missing".." at end of SQL expression" what am I doing wrong?
 

Did you declare the loop variable (here,  "objectdefinition") as a
record or rowtype variable?  If the loop variable is not known,
plpgsql assumes this is a locally-declared-integer kind of FOR loop,
which leads it to expect the lowbound .. highbound kind of syntax,
which leads to the above error message.
        regards, tom lane


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

Предыдущее
От: A E
Дата:
Сообщение: Re: Anything akin to an Evaluate Statement in Postgresql?
Следующее
От: A E
Дата:
Сообщение: Re: Anything akin to an Evaluate Statement in Postgresql?