postgres_fdw: Add support for parallel commit.
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 24 Feb 2022 05:30:00 +0000 (14:30 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 24 Feb 2022 05:30:00 +0000 (14:30 +0900)
commit04e706d4238f98a98e1c0b1a02db9d4280b96f04
treee58071ae9b40f52c8394dd0da56938278dbb8b96
parentcfb4e209ec15d4a0c44efa98b2788be806a43a92
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
contrib/postgres_fdw/connection.c
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/option.c
contrib/postgres_fdw/sql/postgres_fdw.sql
doc/src/sgml/postgres-fdw.sgml