@@ -7270,14 +7270,16 @@ postgresForeignAsyncConfigureWait(AsyncRequest *areq)
7270
7270
{
7271
7271
/*
7272
7272
* This is the case when the in-process request was made by another
7273
- * Append. Note that it might be useless to process the request,
7274
- * because the query might not need tuples from that Append anymore.
7275
- * If there are any child subplans of the same parent that are ready
7276
- * for new requests, skip the given request. Likewise, if there are
7277
- * any configured events other than the postmaster death event, skip
7278
- * it. Otherwise, process the in-process request, then begin a fetch
7279
- * to configure the event below, because we might otherwise end up
7280
- * with no configured events other than the postmaster death event.
7273
+ * Append. Note that it might be useless to process the request made
7274
+ * by that Append, because the query might not need tuples from that
7275
+ * Append anymore; so we avoid processing it to begin a fetch for the
7276
+ * given request if possible. If there are any child subplans of the
7277
+ * same parent that are ready for new requests, skip the given
7278
+ * request. Likewise, if there are any configured events other than
7279
+ * the postmaster death event, skip it. Otherwise, process the
7280
+ * in-process request, then begin a fetch to configure the event
7281
+ * below, because we might otherwise end up with no configured events
7282
+ * other than the postmaster death event.
7281
7283
*/
7282
7284
if (!bms_is_empty (requestor -> as_needrequest ))
7283
7285
return ;
0 commit comments