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