Re: [HACKERS] Initialization of ResultTupleSlot in AppendNode

2011-09-16 Thread Amit Kapila
:24 AM To: Amit Kapila Cc: pgsql-hackers@postgresql.org Subject: Re: [HACKERS] Initialization of ResultTupleSlot in AppendNode Amit Kapila amit.kap...@huawei.com writes: I observed that during initialization of planstate for Append Node, we allocate ResulttupleSlot, however it is used only

Re: [HACKERS] Initialization of ResultTupleSlot in AppendNode

2011-09-16 Thread Amit Kapila
4:24 AM To: Amit Kapila Cc: pgsql-hackers@postgresql.org Subject: Re: [HACKERS] Initialization of ResultTupleSlot in AppendNode Amit Kapila amit.kap...@huawei.com writes: I observed that during initialization of planstate for Append Node, we allocate ResulttupleSlot, however it is used only

Re: [HACKERS] Initialization of ResultTupleSlot in AppendNode

2011-09-15 Thread Tom Lane
Amit Kapila amit.kap...@huawei.com writes: I observed that during initialization of planstate for Append Node, we allocate ResulttupleSlot, however it is used only to send NULL slot indicate no more tuples. Is it right or there is any other purpose of it? That also holds the plan's output