Sam Mason <sam(at)samason(dot)me(dot)uk> writes:
> On Fri, Nov 16, 2007 at 10:56:55AM -0500, Tom Lane wrote:
>> More generally, I think that the average programmer would rather just
>> not be bothered with all these details; he'd want to write
>>
>> for (row in spi.query("...sql..." [, arguments])) { ...
> OK. Would you expect this to use cursors under the hood? I can't see a
> good way of making this work without them unless I accept that they're
> going to fail if the record set gets too large.
Yeah, you want it to "just work" ...
regards, tom lane