| От | Craig Ringer |
|---|---|
| Тема | Re: Disk buffering of resultsets |
| Дата | |
| Msg-id | 541E7D16.8040405@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: Disk buffering of resultsets (Thomas Kellerer <spam_eater@gmx.net>) |
| Список | pgsql-jdbc |
On 09/21/2014 03:06 PM, Thomas Kellerer wrote: > Wouldn't it make more sense to allow for a non-buffered result when > using auto-commit > (something like "bufferResults=false") instead? > > Or is that technically not possible due to the Postgres wire-protocol? If you expect the statement to have committed when the execute returns, then it's not practical. You could use a WITH HOLD cursor, but that'd be horribly inefficient; it basically forces the server to buffer the result instead. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера