Cursors and Transactions, why?

Поиск
Список
Период
Сортировка
От Eric Ridge
Тема Cursors and Transactions, why?
Дата
Msg-id CF4BA056-8743-11D8-91AB-000A95BB5944@tcdi.com
обсуждение исходный текст
Ответы Re: Cursors and Transactions, why?  (Joe Conway <mail@joeconway.com>)
Re: Cursors and Transactions, why?  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
Why must a cursor be defined in an open transaction?  Obviously there's
a good reason, but I can't figure it out.  On a high level, what would
be involved in allowing a cursor to outlive the transaction that
created it?

Cursors seem as if they have some nice performance benefits (esp. if
you're not using all rows found), but their usefulness drops
considerably since you must leave a transaction open.

eric


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

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: Large DB
Следующее
От: William White
Дата:
Сообщение: left and overleft/notright revisited: why !>> and !<< might be poor names