Re: [HACKERS] Executor question

2008-07-26 Thread Tom Lane
Andrew Gierth <[EMAIL PROTECTED]> writes: > However, tracing through the code suggests that neither ExecInsert not > intorel_receive will modify a passed raw tuple - ExecInsert calls > ExecMaterializeSlot before heap_insert, and intorel_receive calls > ExecCopySlotTuple before heap_insert. > So is

[HACKERS] Executor question

2008-07-26 Thread Andrew Gierth
While trying to construct testcases for a patch, I ran into this: execAmi.c has a function ExecMayReturnRawTuples which indicates whether a given plan might return tuples that come straight from a table rather than having been projected. InitPlan() uses this to force the addition of a junk filter