pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Etsuro Fujita <efujita@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: postgres_fdw: Add support for parallel abort.
Date: Thu, 06 Apr 2023 08:37:09 +0000
Message-ID: <E1pkL7E-001dw1-Fs@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1pkL7E-001dw1-Fs@gemulon.postgresql.org>
Permalink:  ../E1pkL7E-001dw1-Fs@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pkL7E-001dw1-Fs@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: efujita@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: postgres_fdw: Add support for parallel abort.
  In-Reply-To: <E1pkL7E-001dw1-Fs@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox