---------------------------------------------------------------- * ExecAsyncForeignScanNotify * * Callback invoked when a relevant event has occurred * ---------------------------------------------------------------- */
| 507 | * ---------------------------------------------------------------- |
| 508 | */ |
| 509 | void |
| 510 | ExecAsyncForeignScanNotify(AsyncRequest *areq) |
| 511 | { |
| 512 | ForeignScanState *node = (ForeignScanState *) areq->requestee; |
| 513 | FdwRoutine *fdwroutine = node->fdwroutine; |
| 514 | |
| 515 | Assert(fdwroutine->ForeignAsyncNotify != NULL); |
| 516 | fdwroutine->ForeignAsyncNotify(areq); |
| 517 | } |