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 commit.
Date: Thu, 24 Feb 2022 05:37:52 +0000
Message-ID: <E1nN6p5-0006IY-PP@gemulon.postgresql.org> (raw)

postgres_fdw: Add support for parallel commit.

postgres_fdw commits remote (sub)transactions opened on remote server(s)
in a local (sub)transaction one by one when the local (sub)transaction
commits.  This patch allows it to commit the remote (sub)transactions in
parallel to improve performance.  This is enabled by the server option
"parallel_commit".  The default is false.

Etsuro Fujita, reviewed by Fujii Masao and David Zhang.

Discussion: http://postgr.es/m/CAPmGK17dAZCXvwnfpr1eTfknTGdt%3DhYTV9405Gt5SqPOX8K84w%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/04e706d4238f98a98e1c0b1a02db9d4280b96f04

Modified Files
--------------
contrib/postgres_fdw/connection.c              | 223 +++++++++++++++++++++++--
contrib/postgres_fdw/expected/postgres_fdw.out |  78 ++++++++-
contrib/postgres_fdw/option.c                  |   2 +
contrib/postgres_fdw/sql/postgres_fdw.sql      |  46 +++++
doc/src/sgml/postgres-fdw.sgml                 |  46 +++++
5 files changed, 376 insertions(+), 19 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1nN6p5-0006IY-PP@gemulon.postgresql.org>
Permalink:  ../E1nN6p5-0006IY-PP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nN6p5-0006IY-PP@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 commit.
  In-Reply-To: <E1nN6p5-0006IY-PP@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