postgres_fdw: Add support for parallel abort.
Etsuro Fujita <efujita@postgresql.org>
postgres_fdw: Add support for parallel abort. postgres_fdw aborts remote (sub)transactions opened on remote server(s) in a local (sub)transaction one by one when the local (sub)transaction aborts. This patch allows it to abort the remote (sub)transactions in parallel to improve performance. This is enabled by the server option "parallel_abort". The default is false. Etsuro Fujita, reviewed by David Zhang. Discussion: http://postgr.es/m/CAPmGK15FuPVGx3TGHKShsbPKKtF1y58-ZLcKoxfN-nqLj1dZ%3Dg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/connection.c | modified | +378 −25 |
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +52 −1 |
| contrib/postgres_fdw/option.c | modified | +2 −0 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +26 −1 |
| doc/src/sgml/postgres-fdw.sgml | modified | +31 −16 |
Documentation touched
Discussion
- postgres_fdw: commit remote (sub)transactions in parallel during pre-commit 46 messages · 2021-10-31 → 2023-04-06