pgsql: postgres_fdw: Add support for parallel abort.

From: Etsuro Fujita <efujita(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Add support for parallel abort.
Date: 2023-04-06 08:37:09
Message-ID: E1pkL7E-001dw1-Fs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/983ec23007bd83a649af9bc823f13feb0da27e0e

Modified Files
--------------
contrib/postgres_fdw/connection.c | 403 +++++++++++++++++++++++--
contrib/postgres_fdw/expected/postgres_fdw.out | 53 +++-
contrib/postgres_fdw/option.c | 2 +
contrib/postgres_fdw/sql/postgres_fdw.sql | 27 +-
doc/src/sgml/postgres-fdw.sgml | 47 ++-
5 files changed, 489 insertions(+), 43 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2023-04-06 15:28:07 pgsql: Support long distance matching for zstd compression
Previous Message David Rowley 2023-04-06 04:14:12 Re: pgsql: Move various prechecks from vacuum() into ExecVacuum()