Re: Avoid needless copy in nodeMaterial

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Avoid needless copy in nodeMaterial
Дата
Msg-id 3744.1192509252@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Avoid needless copy in nodeMaterial  (Neil Conway <neilc@samurai.com>)
Ответы Re: Avoid needless copy in nodeMaterial  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> 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.

Seems like this needs more comments about what's happening, rather
than less ...

Also, it looks to me like the plan node's own resultslot might never be
assigned to at all, when the subplan returns zero rows.  Does this
corner case still work correctly?

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Avoid needless copy in nodeMaterial
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Avoid needless copy in nodeMaterial