PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
JunkFilter * | ExecInitJunkFilter (List *targetList, TupleTableSlot *slot) |
JunkFilter * | ExecInitJunkFilterConversion (List *targetList, TupleDesc cleanTupType, TupleTableSlot *slot) |
AttrNumber | ExecFindJunkAttribute (JunkFilter *junkfilter, const char *attrName) |
AttrNumber | ExecFindJunkAttributeInTlist (List *targetlist, const char *attrName) |
TupleTableSlot * | ExecFilterJunk (JunkFilter *junkfilter, TupleTableSlot *slot) |
TupleTableSlot* ExecFilterJunk | ( | JunkFilter * | junkfilter, |
TupleTableSlot * | slot | ||
) |
Definition at line 247 of file execJunk.c.
References ExecClearTuple(), ExecStoreVirtualTuple(), i, j, JunkFilter::jf_cleanMap, JunkFilter::jf_cleanTupType, JunkFilter::jf_resultSlot, TupleDescData::natts, slot_getallattrs(), TupleTableSlot::tts_isnull, TupleTableSlot::tts_values, and values.
Referenced by ExecEvalWholeRowVar(), ExecutePlan(), and sqlfunction_receive().
AttrNumber ExecFindJunkAttribute | ( | JunkFilter * | junkfilter, |
const char * | attrName | ||
) |
Definition at line 210 of file execJunk.c.
References ExecFindJunkAttributeInTlist(), and JunkFilter::jf_targetList.
AttrNumber ExecFindJunkAttributeInTlist | ( | List * | targetlist, |
const char * | attrName | ||
) |
Definition at line 222 of file execJunk.c.
References InvalidAttrNumber, lfirst, and TargetEntry::resno.
Referenced by create_foreign_modify(), ExecBuildAuxRowMark(), ExecFindJunkAttribute(), and ExecInitModifyTable().
JunkFilter* ExecInitJunkFilter | ( | List * | targetList, |
TupleTableSlot * | slot | ||
) |
Definition at line 60 of file execJunk.c.
References Assert, ExecCleanTypeFromTL(), ExecSetSlotDescriptor(), JunkFilter::jf_cleanMap, JunkFilter::jf_cleanTupType, JunkFilter::jf_resultSlot, JunkFilter::jf_targetList, lfirst, makeNode, MakeSingleTupleTableSlot(), TupleDescData::natts, palloc(), TargetEntry::resno, and TTSOpsVirtual.
Referenced by ExecInitWholeRowVar(), init_sql_fcache(), and InitPlan().
JunkFilter* ExecInitJunkFilterConversion | ( | List * | targetList, |
TupleDesc | cleanTupType, | ||
TupleTableSlot * | slot | ||
) |
Definition at line 137 of file execJunk.c.
References ExecSetSlotDescriptor(), i, JunkFilter::jf_cleanMap, JunkFilter::jf_cleanTupType, JunkFilter::jf_resultSlot, JunkFilter::jf_targetList, lfirst, list_head(), lnext(), makeNode, MakeSingleTupleTableSlot(), TupleDescData::natts, palloc0(), TargetEntry::resno, TTSOpsVirtual, and TupleDescAttr.
Referenced by init_sql_fcache().