Greg Smith escribió:

> The messy part of extending relations in larger chunks
> is how to communicate that back into the buffer manager usefully.
> The extension path causing trouble is RelationGetBufferForTuple
> calling ReadBufferBI.  All of that is passing a single buffer
> around.  There's no simple way I can see to rewrite it to handle
> more than one at a time.

No, but we can have it create several pages and insert them into the
FSM.  So they aren't returned to the original caller but are available
to future users.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to