Re: Disk buffering of resultsets
От | Craig Ringer |
---|---|
Тема | Re: Disk buffering of resultsets |
Дата | |
Msg-id | 545038A4.3010100@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Disk buffering of resultsets (Vitalii Tymchyshyn <vit@tym.im>) |
Ответы |
Re: Disk buffering of resultsets
|
Список | pgsql-jdbc |
On 10/21/2014 10:19 AM, Vitalii Tymchyshyn wrote: > Hello, all. > > Basically, alpha of p.1 is available > here: https://github.com/tivv/pgjdbc/tree/offloading > It passes all the tests of cursor-based implementation, but I want to > add some more (mostly with multiple open statements). I'm still not sure I fully see the benefits of this, or at least see them as worth the complexity introduced. I'm strongly opposed to the idea of finishing fetching when the next statement is created, then stashing any resulting exception in the prior statement so it's handled at close time or on the next resultset fetch. If you don't do that, and instead require that the caller fully fetch the resultset before starting the next statement (possibly via a helper thread) then it might be more OK. Overall though, I'm finding it hard to understand the use case for this. Why use this instead of multiple portals in an open transaction, or multiple connections? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-jdbc по дате отправления: