* Call the requestor back when an asynchronous node has produced a result. */
| 114 | * Call the requestor back when an asynchronous node has produced a result. |
| 115 | */ |
| 116 | void |
| 117 | ExecAsyncResponse(AsyncRequest *areq) |
| 118 | { |
| 119 | switch (nodeTag(areq->requestor)) |
| 120 | { |
| 121 | case T_AppendState: |
| 122 | ExecAsyncAppendResponse(areq); |
| 123 | break; |
| 124 | default: |
| 125 | /* If the node doesn't support async, caller messed up. */ |
| 126 | elog(ERROR, "unrecognized node type: %d", |
| 127 | (int) nodeTag(areq->requestor)); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | /* |
| 132 | * A requestee node should call this function to deliver the tuple to its |
no test coverage detected