pgsql: Change the default value of the streaming option to 'parallel'.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change the default value of the streaming option to 'parallel'.
Date: 2024-10-28 03:25:04
Message-ID: E1t5GNM-002mZB-Hu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-10-28 07:02:50 pgsql: Remove unused #include's from contrib, pl, test .c files
Previous Message Michael Paquier 2024-10-28 00:04:15 pgsql: Set query ID for inner queries of CREATE TABLE AS and DECLARE