Re: setFetchSize - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: setFetchSize
Date
Msg-id CA+0W9LOecXBWAW83WZNqG=BWYfpr0dnXYpa+n34RqZhHcKPjUw@mail.gmail.com
Whole thread Raw
In response to Re: setFetchSize  (fschmidt <fschmidt@gmail.com>)
List pgsql-jdbc
On 26 October 2011 19:09, fschmidt <fschmidt@gmail.com> wrote:

> But looking at the JDBC code, the main use I see of portals is for
> setFetchSize().  And setFetchSize() is badly crippled in its current
> implementation.  Is there any fundamental reason that portals can't be made
> to survive commits, like cursors WITH HOLD?  This would result in a
> reasonable implementation of setFetchSize().

That would be nice to have, yes. But it would require a protocol
change which is quite a big thing to do.

Oliver

pgsql-jdbc by date:

Previous
From: fschmidt
Date:
Subject: Re: setFetchSize
Next
From: John R Pierce
Date:
Subject: Re: setFetchSize