Re: ExecTidReScan exprCtxt

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ExecTidReScan exprCtxt
Дата
Msg-id 22396.1262030096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ExecTidReScan exprCtxt  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: ExecTidReScan exprCtxt
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> In ExecTidReScan, we have the following:
>         /* If we are being passed an outer tuple, save it for runtime
> key calc */
>         if (exprCtxt != NULL)
>                 node->ss.ps.ps_ExprContext->ecxt_outertuple =
>                         exprCtxt->ecxt_outertuple;

> Is this dead code?

I don't think it's reachable at the moment, but we do have interest
in allowing joins using the TID value.  See for example
http://archives.postgresql.org/pgsql-hackers/2009-01/msg01746.php
http://archives.postgresql.org/pgsql-performance/2007-04/msg00231.php
So I wouldn't be in favor of removing it.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: ExecTidReScan exprCtxt
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Provide rowcount for utility SELECTs