Re: psql: add tab completion for subscription wal_receiver_timeout
Re: psql: add tab completion for subscription wal_receiver_timeout
От:
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Дата:
Hi, On Tue, Jun 23, 2026 at 8:50 PM Chao Li wrote: > > Hi, > > While testing "[fb80f388f] Add per-subscription wal_receiver_timeout setting", I noticed that wal_receiver_timeout is missing from tab completion for both CREATE SUBSCRIPTION WITH and ALTER SUBSCRIPTION SET: > ``` > evantest=# create subscription ss with ( > BINARY CREATE_SLOT FAILOVER PASSWORD_REQUIRED SLOT_NAME TWO_PHASE > CONNECT DISABLE_ON_ERROR MAX_RETENTION_DURATION RETAIN_DEAD_TUPLES STREAMING > COPY_DATA ENABLED ORIGIN RUN_AS_OWNER SYNCHRONOUS_COMMIT > evantest=# alter subscription ss set ( > BINARY FAILOVER ORIGIN RETAIN_DEAD_TUPLES SLOT_NAME SYNCHRONOUS_COMMIT > DISABLE_ON_ERROR MAX_RETENTION_DURATION PASSWORD_REQUIRED RUN_AS_OWNER STREAMING TWO_PHASE > ``` > > This is a tiny patch to fix that. Thanks for the patch. LGTM. -- Bharath Rupireddy Amazon Web Services: https://aws.amazon.com
Re: psql: add tab completion for subscription wal_receiver_timeout
От:
Xuneng Zhou <xunengzhou@gmail.com>
Дата:
Hi Evan, On Wed, Jun 24, 2026 at 11:50 AM Chao Li wrote: > > Hi, > > While testing "[fb80f388f] Add per-subscription wal_receiver_timeout setting", I noticed that wal_receiver_timeout is missing from tab completion for both CREATE SUBSCRIPTION WITH and ALTER SUBSCRIPTION SET: > ``` > evantest=# create subscription ss with ( > BINARY CREATE_SLOT FAILOVER PASSWORD_REQUIRED SLOT_NAME TWO_PHASE > CONNECT DISABLE_ON_ERROR MAX_RETENTION_DURATION RETAIN_DEAD_TUPLES STREAMING > COPY_DATA ENABLED ORIGIN RUN_AS_OWNER SYNCHRONOUS_COMMIT > evantest=# alter subscription ss set ( > BINARY FAILOVER ORIGIN RETAIN_DEAD_TUPLES SLOT_NAME SYNCHRONOUS_COMMIT > DISABLE_ON_ERROR MAX_RETENTION_DURATION PASSWORD_REQUIRED RUN_AS_OWNER STREAMING TWO_PHASE > ``` > > This is a tiny patch to fix that. > The patch LGTM. I've verified that SUBOPT_WAL_RECEIVER_TIMEOUT is in both the CREATE and ALTER supported-option masks. -- Regards, Xuneng Zhou HighGo Software Co., Ltd.
Re: psql: add tab completion for subscription wal_receiver_timeout
От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
On Wed, Jun 24, 2026 at 4:52 PM Xuneng Zhou wrote: > > This is a tiny patch to fix that. > > > > The patch LGTM. I've verified that SUBOPT_WAL_RECEIVER_TIMEOUT is in > both the CREATE and ALTER supported-option masks. Thanks for the patch! LGTM. Since wal_receiver_timeout subscription option is new in v19, I'm thinking to commit this to v19 rather than v20. Regards, -- Fujii Masao
Re: psql: add tab completion for subscription wal_receiver_timeout
От:
Chao Li <li.evan.chao@gmail.com>
Дата:
> On Jun 24, 2026, at 16:23, Fujii Masao wrote: > > On Wed, Jun 24, 2026 at 4:52 PM Xuneng Zhou wrote: >>> This is a tiny patch to fix that. >>> >> >> The patch LGTM. I've verified that SUBOPT_WAL_RECEIVER_TIMEOUT is in >> both the CREATE and ALTER supported-option masks. > > Thanks for the patch! LGTM. > > Since wal_receiver_timeout subscription option is new in v19, I'm thinking > to commit this to v19 rather than v20. I think so. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/
Re: psql: add tab completion for subscription wal_receiver_timeout
От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
On Wed, Jun 24, 2026 at 5:31 PM Chao Li wrote: > > > > > On Jun 24, 2026, at 16:23, Fujii Masao wrote: > > > > On Wed, Jun 24, 2026 at 4:52 PM Xuneng Zhou wrote: > >>> This is a tiny patch to fix that. > >>> > >> > >> The patch LGTM. I've verified that SUBOPT_WAL_RECEIVER_TIMEOUT is in > >> both the CREATE and ALTER supported-option masks. > > > > Thanks for the patch! LGTM. > > > > Since wal_receiver_timeout subscription option is new in v19, I'm thinking > > to commit this to v19 rather than v20. > > I think so. I've pushed the patch. Thanks! Regards, -- Fujii Masao
Re: psql: add tab completion for subscription wal_receiver_timeout
От:
Chao Li <li.evan.chao@gmail.com>
Дата:
> On Jun 24, 2026, at 22:02, Fujii Masao wrote: > > On Wed, Jun 24, 2026 at 5:31 PM Chao Li wrote: >> >> >> >>> On Jun 24, 2026, at 16:23, Fujii Masao wrote: >>> >>> On Wed, Jun 24, 2026 at 4:52 PM Xuneng Zhou wrote: >>>>> This is a tiny patch to fix that. >>>>> >>>> >>>> The patch LGTM. I've verified that SUBOPT_WAL_RECEIVER_TIMEOUT is in >>>> both the CREATE and ALTER supported-option masks. >>> >>> Thanks for the patch! LGTM. >>> >>> Since wal_receiver_timeout subscription option is new in v19, I'm thinking >>> to commit this to v19 rather than v20. >> >> I think so. > > I've pushed the patch. Thanks! > > Regards, > > -- > Fujii Masao Thanks a lot for pushing. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/