Re: Javascript support in the backend, i.e. PL/JS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Javascript support in the backend, i.e. PL/JS
Date
Msg-id 20644.1195233489@sss.pgh.pa.us
Whole thread Raw
In response to Re: Javascript support in the backend, i.e. PL/JS  (Sam Mason <sam@samason.me.uk>)
List pgsql-hackers
Sam Mason <sam@samason.me.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: update files for beta3
Next
From: Alvaro Herrera
Date:
Subject: pg_ctl -t N register ??