Initialization of ResultTupleSlot in AppendNode - Mailing list pgsql-hackers

From Amit Kapila
Subject Initialization of ResultTupleSlot in AppendNode
Date
Msg-id 37CAAB7A7AC5474C81D515E9957743A8@china.huawei.com
Whole thread Raw
Responses Re: Initialization of ResultTupleSlot in AppendNode
List pgsql-hackers
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Hi All,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I observed that during initialization of planstate for Append Node, we allocate ResulttupleSlot,
howeverit is used only to send NULL slot indicate no more tuples. </span></font><p class="MsoNormal"><font face="Arial"
size="2"><spanstyle="font-size:10.0pt;
 
font-family:Arial">Is it right or there is any other purpose of it?</span></font><p class="MsoNormal"><font
face="Arial"size="2"><span style="font-size:10.0pt;
 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Amit</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial"> </span></font><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
face="Arial"size="2"><span
style="font-size:10.0pt;font-family:Arial">***************************************************************************************<br
/>This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or
entitywhose address is listed above. Any use of the information contained herein in any way (including, but not limited
to,total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is
prohibited.If you receive this e-mail in error, please notify the sender by phone or email immediately and delete
it!</span></font><pclass="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:
 
12.0pt"> </span></font></div>

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: memory barriers (was: Yes, WaitLatch is vulnerable to weak-memory-ordering bugs)
Next
From: "David E. Wheeler"
Date:
Subject: Patch: Perl xsubpp