Re: Avoid needless copy in nodeMaterial
От | Bruce Momjian |
---|---|
Тема | Re: Avoid needless copy in nodeMaterial |
Дата | |
Msg-id | 200711042236.lA4MamY05599@momjian.us обсуждение исходный текст |
Ответ на | Avoid needless copy in nodeMaterial (Neil Conway <neilc@samurai.com>) |
Список | pgsql-patches |
This has been saved for the 8.4 release: http://momjian.postgresql.org/cgi-bin/pgpatches_hold --------------------------------------------------------------------------- Neil Conway wrote: > Attached is a patch that avoids a needless copy of the result tuple in > nodeMaterial, in the case that we don't have a previously-materialized > tuple to return. We can just return the TTS produced by executing our > child node, rather than returning a copy of it. > > I didn't bother pulling the MinimalTuple out of "outerslot" and stuffing > it back into the nodeMaterial's result slot, as AFAICS that is not > necessary. Although I suppose you could make a cleanliness argument that > that would be worth doing instead. > > (This is 8.4 material...) > > -Neil > [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 7: You can help support the PostgreSQL project by donating at > > http://www.postgresql.org/about/donate -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://postgres.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-patches по дате отправления: