Re: Retrieving unused tuple attributes in ExecScan

2022-06-27 Thread Ma, Marcus
On 6/27/22, 3:10 PM, "Andres Freund" wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. Hi, On 2022-06-27 19:00:44 +, Ma, Marcus wrote:

Retrieving unused tuple attributes in ExecScan

2022-06-27 Thread Ma, Marcus
Hey, If I understand correctly, when a Sequential Scan takes place, the ExecScan function (located in executor/execScan.c) does not retrieve all attributes per tuple in the TupleTableSlot and only retrieves the necessary attribute. So for example, let’s imagine we have a table t1 with 3 number