| От | Joe Conway |
|---|---|
| Тема | Re: can Function return a row ??? |
| Дата | |
| Msg-id | 3CDFD507.7030005@joeconway.com обсуждение исходный текст |
| Ответ на | Re: can Function return a row ??? (Tahira Aslam <tahira_aslam@yahoo.com>) |
| Список | pgsql-general |
Tahira Aslam wrote: > Thanks Joe for your timly help..but still i have a little confusion.I > read postgresql 7.2 Documentation for PL/pgsql (chapter 23)...its about > "Cursors" but it says something like this also > > *"A more interesting possibility is that a function can return a > reference to a cursor it has set up,allowing the caller to read the > rows. This provides one way of returning a rowset from a function" * > > plz I need further guidance in this regard.. > > Thanks > > Tahira Aslam I don't think there is an example in the 7.2 docs, but see: http://developer.postgresql.org/docs/postgres/plpgsql-cursors.html I think this also works in 7.2. HTH, Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера