pgsql: Change the default value of the streaming option to 'parallel'. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Change the default value of the streaming option to 'parallel'.
Date
Msg-id E1t5GNM-002mZB-Hu@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Change the default value of the streaming option to 'parallel'.
List pgsql-committers
Change the default value of the streaming option to 'parallel'.

Previously the default value of streaming option for a subscription was
'off'. The parallel option indicates that the changes in large
transactions (greater than logical_decoding_work_mem) are to be applied
directly via one of the parallel apply workers, if available.

The parallel mode was introduced in 16, but we refrain from enabling it by
default to avoid seeing any unpleasant behavior in the existing
applications. However we haven't found any such report yet, so this is a
good time to enable it by default.

Reported-by: Vignesh C
Author: Hayato Kuroda, Masahiko Sawada, Peter Smith, Amit Kapila
Discussion: https://postgr.es/m/CALDaNm1=MedhW23NuoePJTmonwsMSp80ddsw+sEJs0GUMC_kqQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1bf1140be87230c71d0e7b29939f7e2b3d073aa1

Modified Files
--------------
doc/src/sgml/ref/create_subscription.sgml       | 27 ++++++++++++++++---------
src/backend/commands/subscriptioncmds.c         |  2 +-
src/bin/pg_dump/pg_dump.c                       |  2 ++
src/bin/pg_dump/t/002_pg_dump.pl                | 10 ++++-----
src/test/regress/expected/subscription.out      | 24 +++++++++++-----------
src/test/subscription/t/022_twophase_cascade.pl |  4 ++--
6 files changed, 39 insertions(+), 30 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Set query ID for inner queries of CREATE TABLE AS and DECLARE
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove unused #include's from contrib, pl, test .c files