Re: lifetime of TubleTableSlot* returned by ExecProcNode

Поиск
Список
Период
Сортировка
От Bramandia Ramadhana
Тема Re: lifetime of TubleTableSlot* returned by ExecProcNode
Дата
Msg-id 700260640812121830h60465482kb9922b72a27cab8b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: lifetime of TubleTableSlot* returned by ExecProcNode  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: lifetime of TubleTableSlot* returned by ExecProcNode  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I see.
 
Hmm how if an upper level node needs to store (for future use) the TupleTableSlot* returned by lower level node, e.g. I create a specialized Sort Node which needs to read all tuples from lower level nodes. In this case, would it be necessary and sufficient to make a copy the TupleTableSlot ?
 
 
Regards,
 
Bramandia R.
 
On Fri, Dec 12, 2008 at 9:13 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Bramandia Ramadhana" <bramandia@gmail.com> writes:
> As per title, what is the lifetime of the virtual tuple TupleTableSlot*
> returned by ExecProcNode?

Until you next call that same plan node.

                       regards, tom lane

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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: lifetime of TubleTableSlot* returned by ExecProcNode