Re: pgsql-server/ ontrib/tablefunc/tablefunc.c rc/ ...

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ ontrib/tablefunc/tablefunc.c rc/ ...
Date: 2003-03-09 02:49:12
Message-ID: 3E6AABA8.3090609@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> Log message:
> Revise tuplestore and nodeMaterial so that we don't have to read the
> entire contents of the subplan into the tuplestore before we can return
> any tuples. Instead, the tuplestore holds what we've already read, and
> we fetch additional rows from the subplan as needed. Random access to
> the previously-read rows works with the tuplestore, and doesn't affect
> the state of the partially-read subplan. This is a step towards fixing
> the problems with cursors over complex queries --- we don't want to
> stick in Materialize nodes if they'll prevent quick startup for a cursor.
>

So if I understand this correctly, tuplestore_donestoring() is not used
anymore (and doen't even exist)? Anything else changed in tuplestore
behavior? I have to update PL/R also for this.

Thanks,

Joe

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-03-09 02:56:22 Re: pgsql-server/ ontrib/tablefunc/tablefunc.c rc/ ...
Previous Message Tom Lane 2003-03-09 02:19:14 pgsql-server/ ontrib/tablefunc/tablefunc.c rc/ ...