---------------------------------------------------------------- * ExecIndexOnlyScanEstimate * * Compute the amount of space we'll need in the parallel * query DSM, and inform pcxt->estimator about our needs. * ---------------------------------------------------------------- */
| 651 | * ---------------------------------------------------------------- |
| 652 | */ |
| 653 | void |
| 654 | ExecIndexOnlyScanEstimate(IndexOnlyScanState *node, |
| 655 | ParallelContext *pcxt) |
| 656 | { |
| 657 | EState *estate = node->ss.ps.state; |
| 658 | |
| 659 | node->ioss_PscanLen = index_parallelscan_estimate(node->ioss_RelationDesc, |
| 660 | estate->es_snapshot); |
| 661 | shm_toc_estimate_chunk(&pcxt->estimator, node->ioss_PscanLen); |
| 662 | shm_toc_estimate_keys(&pcxt->estimator, 1); |
| 663 | } |
| 664 | |
| 665 | /* ---------------------------------------------------------------- |
| 666 | * ExecIndexOnlyScanInitializeDSM |
no test coverage detected