Skip to content

Commit eab8195

Browse files
author
Etsuro Fujita
committed
Doc: Further update documentation for asynchronous execution.
Add a note about asynchronous execution by postgres_fdw when applied to Append nodes that contain synchronous subplan(s) as well. Follow-up for commit 27e1f14. Andrey Lepikhov and Etsuro Fujita Discussion: https://postgr.es/m/58fa2aa5-07f5-80b5-59a1-fec8a349fee7%40postgrespro.ru
1 parent 4e47b02 commit eab8195

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/src/sgml/postgres-fdw.sgml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,19 @@ OPTIONS (ADD password_required 'false');
411411
In such a case, it may be more performant to disable this option to
412412
eliminate the overhead associated with running queries asynchronously.
413413
</para>
414+
415+
<para>
416+
Asynchronous execution is applied even when an
417+
<structname>Append</structname> node contains subplan(s) executed
418+
synchronously as well as subplan(s) executed asynchronously.
419+
In such a case, if the asynchronous subplans are ones processed using
420+
<filename>postgres_fdw</filename>, tuples from the asynchronous
421+
subplans are not returned until after at least one synchronous subplan
422+
returns all tuples, as that subplan is executed while the asynchronous
423+
subplans are waiting for the results of asynchronous queries sent to
424+
foreign servers.
425+
This behavior might change in a future release.
426+
</para>
414427
</listitem>
415428
</varlistentry>
416429

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy