| От | Ottavio Campana |
|---|---|
| Тема | Re: about cursors |
| Дата | |
| Msg-id | 46749544.2050009@campana.vi.it обсуждение исходный текст |
| Ответ на | Re: about cursors (Martijn van Oosterhout <kleptog@svana.org>) |
| Ответы |
Re: about cursors
|
| Список | pgsql-general |
Martijn van Oosterhout wrote: >> One last question: what happens to unclosed cursors? I mean, suppose an >> application opens a cursor and crashes. What happens to that cursor? Is >> there a way to close idle cursors? > > Cursors are attached to the transactio and session, if either ends, the > cursor dies with it... > > Have a nice day, another question: since they live in a transaction, how can they be used in web apps? Suppose you want to display only a subset of records a time in a page, each time you load a page you have to start a new transaction and therefore you need a new cursor, or not? -- Non c'e' piu' forza nella normalita', c'e' solo monotonia.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера