| 159 | } |
| 160 | |
| 161 | void |
| 162 | ExecCustomScanEstimate(CustomScanState *node, ParallelContext *pcxt) |
| 163 | { |
| 164 | const CustomExecMethods *methods = node->methods; |
| 165 | |
| 166 | if (methods->EstimateDSMCustomScan) |
| 167 | { |
| 168 | node->pscan_len = methods->EstimateDSMCustomScan(node, pcxt); |
| 169 | shm_toc_estimate_chunk(&pcxt->estimator, node->pscan_len); |
| 170 | shm_toc_estimate_keys(&pcxt->estimator, 1); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | void |
| 175 | ExecCustomScanInitializeDSM(CustomScanState *node, ParallelContext *pcxt) |
no outgoing calls
no test coverage detected