---------------------------------------------------------------- * ExecInitSeqScan * ---------------------------------------------------------------- */
| 160 | * ---------------------------------------------------------------- |
| 161 | */ |
| 162 | SeqScanState * |
| 163 | ExecInitSeqScan(SeqScan *node, EState *estate, int eflags) |
| 164 | { |
| 165 | Relation currentRelation; |
| 166 | |
| 167 | /* |
| 168 | * get the relation object id from the relid'th entry in the range table, |
| 169 | * open that relation and acquire appropriate lock on it. |
| 170 | */ |
| 171 | currentRelation = ExecOpenScanRelation(estate, node->scanrelid, eflags); |
| 172 | |
| 173 | return ExecInitSeqScanForPartition(node, estate, currentRelation); |
| 174 | } |
| 175 | |
| 176 | SeqScanState * |
| 177 | ExecInitSeqScanForPartition(SeqScan *node, EState *estate, |
no test coverage detected