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>
Re: looping through records... Tom Lane <tgl@sss.pgh.pa.us>
Re: looping through records... "Albert REINER" <areiner@tph.tuwien.ac.at>
"Bob Whitehouse"  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...
FAQ