| От | Tom Lane |
|---|---|
| Тема | Re: Return unknown resultset from a function |
| Дата | |
| Msg-id | 12092.1330963706@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Return unknown resultset from a function (Merlin Moncure <mmoncure@gmail.com>) |
| Ответы |
Re: Return unknown resultset from a function
|
| Список | pgsql-general |
Merlin Moncure <mmoncure@gmail.com> writes:
> The only exception to this rule is cursors. Reading from cursors via
> FETCH allows you to pull data from a refcursor that was set up in a
> previous function call and works pretty well, but comes with the giant
> downside that the results can be directed only to the client.
Hmm, couldn't you do a FETCH into a record variable in plpgsql? Not
that you'd not have problems manipulating the record variable, since
plpgsql is pretty strongly typed itself.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера