---------------------------------------------------------------- * ExecForeignScanEstimate * * Informs size of the parallel coordination information, if any * ---------------------------------------------------------------- */
| 375 | * ---------------------------------------------------------------- |
| 376 | */ |
| 377 | void |
| 378 | ExecForeignScanEstimate(ForeignScanState *node, ParallelContext *pcxt) |
| 379 | { |
| 380 | FdwRoutine *fdwroutine = node->fdwroutine; |
| 381 | |
| 382 | if (fdwroutine->EstimateDSMForeignScan) |
| 383 | { |
| 384 | node->pscan_len = fdwroutine->EstimateDSMForeignScan(node, pcxt); |
| 385 | shm_toc_estimate_chunk(&pcxt->estimator, node->pscan_len); |
| 386 | shm_toc_estimate_keys(&pcxt->estimator, 1); |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | /* ---------------------------------------------------------------- |
| 391 | * ExecForeignScanInitializeDSM |
no outgoing calls
no test coverage detected