| От | Ian Lance Taylor |
|---|---|
| Тема | Re: pgsql and cursor |
| Дата | |
| Msg-id | si8znfh7yp.fsf@daffy.airs.com обсуждение исходный текст |
| Ответ на | pgsql and cursor (Najm Hashmi <najm@mondo-live.com>) |
| Список | pgsql-sql |
Najm Hashmi <najm@mondo-live.com> writes: > Hi all, I am not sure If it is allowed to use cursor inside pgsql functions. > If it is possible, please someone could send exact synatx how it is used. If > it is not allowed is there a way arround it? I need to do some calculations > and then return this value as text. Cursors are not supported in PL/pgSQL. (You can, however, use FOR to loop over a query). For a patch to add cursor support to PL/pgSQL, see http://www.airs.com/ian/pgsql-cursor.html Ian
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера