| 134 | } |
| 135 | |
| 136 | void |
| 137 | ExecReScanSequence(SequenceState *node) |
| 138 | { |
| 139 | for (int i = 0; i < node->numSubplans; i++) |
| 140 | { |
| 141 | PlanState *subnode = node->subplans[i]; |
| 142 | |
| 143 | /* |
| 144 | * ExecReScan doesn't know about my subplans, so I have to do |
| 145 | * changed-parameter signaling myself. |
| 146 | */ |
| 147 | if (node->ps.chgParam != NULL) |
| 148 | { |
| 149 | UpdateChangedParamSet(subnode, node->ps.chgParam); |
| 150 | } |
| 151 | |
| 152 | /* |
| 153 | * Always rescan the inputs immediately, to ensure we can pass down |
| 154 | * any outer tuple that might be used in index quals. |
| 155 | */ |
| 156 | ExecReScan(subnode); |
| 157 | } |
| 158 | |
| 159 | node->initState = true; |
| 160 | } |
| 161 | |
| 162 | void |
| 163 | ExecSquelchSequence(SequenceState *node, bool force) |
no test coverage detected