Re: Document default values for pgoutput options + fix missing initialization for "origin"

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Euler Taveira <euler(at)eulerto(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Document default values for pgoutput options + fix missing initialization for "origin"
Date: 2025-05-21 07:29:36
Message-ID: 5a01bf06-d3d2-49f5-bc94-0a1b6990320f@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2025-05-21 07:50:12 Re: Disable parallel query by default
Previous Message Fujii Masao 2025-05-21 07:27:51 Re: Document default values for pgoutput options + fix missing initialization for "origin"