pgsql: postgres_fdw: Add support for parallel commit.

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 commit.
Date: 2022-02-24 05:37:52
Message-ID: E1nN6p5-0006IY-PP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-02-24 07:12:02 pgsql: Clean up and simplify code in a couple of set-returning function
Previous Message Amit Kapila 2022-02-24 03:37:41 pgsql: Fix one of the tests introduced in commit 52e4f0cd47.