Skip to content

Commit 15fcd33

Browse files
author
Etsuro Fujita
committed
Doc: Update documentation for asynchronous execution.
Add a note of caution on the performance of asynchronous execution by postgres_fdw. Follow-up for commit 27e1f14. Stephen Frost, a little bit expanded by me. Discussion: https://postgr.es/m/20210506171224.GV20766%40tamriel.snowman.net
1 parent 07af57d commit 15fcd33

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/sgml/postgres-fdw.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,16 @@ OPTIONS (ADD password_required 'false');
401401
A table-level option overrides a server-level option.
402402
The default is <literal>false</literal>.
403403
</para>
404+
405+
<para>
406+
In order to ensure that the data being returned from a foreign server
407+
is consistent, <filename>postgres_fdw</filename> will only open one
408+
connection for a given foreign server and will run all queries against
409+
that server sequentially even if there are multiple foreign tables
410+
involved, unless those tables are subject to different user mappings.
411+
In such a case, it may be more performant to disable this option to
412+
eliminate the overhead associated with running queries asynchronously.
413+
</para>
404414
</listitem>
405415
</varlistentry>
406416

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