Re: cursors and for loops?

Поиск
Список
Период
Сортировка
От Dennis
Тема Re: cursors and for loops?
Дата
Msg-id courier.40799269.00004AC6@wolverine.lercnetworks.com
обсуждение исходный текст
Ответ на Re: cursors and for loops?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: cursors and for loops?
Re: cursors and for loops?
Список pgsql-sql
Tom Lane writes: 

> Something like 
> 
>     LOOP
>         FETCH ...;
>         EXIT WHEN NOT found;
>         ...
>     END LOOP;

Thank you! I tried finding documentation on "found" in this context and 
didn't come up with anything. Can you point me to where it is documented? 

Also, I am not getting the results I think I should be getting. Is there any 
kind of debug setting, or if not that, a way to output text (i.e. printf) 
from plpgsql? 

Thanks, 

Dennis
pg-user@calico-consulting.com


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

Предыдущее
От: Bret Hughes
Дата:
Сообщение: Re: trigger/for key help
Следующее
От: Tom Lane
Дата:
Сообщение: Re: trigger/for key help