Re: looping through records...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: looping through records...
Дата
Msg-id 15113.987628854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на looping through records...  ("Bob Whitehouse" <bwhitehouse@geeknest.com>)
Список pgsql-novice
"Bob Whitehouse" <bwhitehouse@geeknest.com> writes:
> Here's how I call the test loop and the error I get:

> db=# SELECT test_loop(1, 'testing');
> ERROR: parse error at or near ";"

I'm not sure why this comes out as a parse error rather than something
more helpful, but the problem is you didn't declare the record variable
that's going to receive the rows.  Try adding the declaration "row RECORD;"

            regards, tom lane

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

Предыдущее
От: "Bob Whitehouse"
Дата:
Сообщение: looping through records...
Следующее
От: "Albert REINER"
Дата:
Сообщение: Re: looping through records...