VALUES() nodes are only ever executed once. This is primarily helpful
for debugging, when forcing JITing even for cheap queries.
Author: Andres Freund
Discussion: https://postgr.es/m/
20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de
bool *isnull;
ListCell *lc;
int resind;
+ int jitstate;
/*
* Get rid of any prior cycle's leftovers. We use ReScanExprContext
oldsubplans = node->ss.ps.subPlan;
node->ss.ps.subPlan = NIL;
+ jitstate = econtext->ecxt_estate->es_jit_flags;
+ econtext->ecxt_estate->es_jit_flags = 0;
exprstatelist = ExecInitExprList(exprlist, &node->ss.ps);
+ econtext->ecxt_estate->es_jit_flags = jitstate;
node->ss.ps.subPlan = oldsubplans;