| От | Oliver Jowett |
|---|---|
| Тема | Re: nested-xacts cursors (was Re: Performance with new |
| Дата | |
| Msg-id | 40E912E3.9000103@opencloud.com обсуждение исходный текст |
| Ответ на | Re: nested-xacts cursors (was Re: Performance with new nested-xacts code) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote: > BTW, I've been more or less ignoring the nearby debate about whether > cursors ought to roll back at subxact abort or not, because right now > I don't know how to implement *either* behavior. Unless we have > credible theories about how to implement both, it's a bit useless to > debate which is better. If/when you have a choice -- the JDBC driver code gets easier if you don't roll back at abort. If rollback of cursor state can happen, then the driver will need to preserve client-side state associated with each cursor (i.e. the driver's idea of its position) at the start of each subtransaction so it can restore it on rollback -- or always use FETCH ABSOLUTE (which I think needs SCROLL cursors?) -O
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера