From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Amit Kapila <amit.kapila16@gmail.com>
To: Euler Taveira <euler@eulerto.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Document default values for pgoutput options + fix missing initialization for "origin"
Date: Wed, 21 May 2025 16:29:36 +0900
Message-ID: <5a01bf06-d3d2-49f5-bc94-0a1b6990320f@oss.nttdata.com> (raw)
In-Reply-To: <CAA4eK1+B17W4_RduG1DETpAkTh7vxz=VpqmqHtRtwW3vZrW5Ng@mail.gmail.com>
References: <d2790f10-238d-4cb5-a743-d9d2a9dd900f@oss.nttdata.com>
<8d21fb98-5c25-4dee-8387-e5a62b01ea7d@app.fastmail.com>
<CAA4eK1+B17W4_RduG1DETpAkTh7vxz=VpqmqHtRtwW3vZrW5Ng@mail.gmail.com>
On 2025/05/20 13:09, Amit Kapila wrote:
>> + Option to enable streaming of in-progress transactions. Valid values are
>> + <literal>off</literal> (the default), <literal>on</literal> and
>> + <literal>parallel</literal>. The setting <literal>parallel</literal>
>> + enables sending extra information with some messages to be used for
>> + parallelization. Minimum protocol version 2 is required to turn it
>> + <literal>on</literal>. Minimum protocol version 4 is required for the
>> + <literal>parallel</literal> value.
>>
>
> One point to note about this is that we change the default value for
> the streaming option to parallel for a subscription in the commit
> 1bf1140be8. But pgoutput still considers the default value to be off.
> I thought about this, but not sure if there is any clear value in
> changing the default of pgoutput. Would you have any thoughts on the
> same?
Using "off" as the pgoutput's default seems better to me,
since it works regardless of protocol version.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: masao.fujii@oss.nttdata.com, amit.kapila16@gmail.com, euler@eulerto.com, pgsql-hackers@lists.postgresql.org
Subject: Re: Document default values for pgoutput options + fix missing initialization for "origin"
In-Reply-To: <5a01bf06-d3d2-49f5-bc94-0a1b6990320f@oss.nttdata.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox