pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Peter Smith <smithpb2250@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: bharath.rupireddyforpostgres@gmail.com
Cc: alvherre@alvh.no-ip.org
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: A recent message added to pg_upgade
Date: Tue, 7 Nov 2023 11:41:58 +0900
Message-ID: <ZUmj9uwMkyq2V6-e@paquier.xyz> (raw)
In-Reply-To: <CAA4eK1+-k9PRXCOZcJn6wxJqEKfPTRiizE3dtZrU9yi20xVrHw@mail.gmail.com>
References: <CAHut+PtmyroO0fybs1FmqSgozKGW=dwycj-WK98SC_nNyAOkGw@mail.gmail.com>
	<20231102.115834.1012152975995247837.horikyota.ntt@gmail.com>
	<CAHut+PsMzqd-nH6XYyNLNuHgSoz8jCK3YmzWiLpBtDbcGxkuEw@mail.gmail.com>
	<CAHut+PsiCPEjuugjM6pKt17i7pQD+mCZw9xtRHO-JUZvSHu3QA@mail.gmail.com>
	<ZUM7cl5BTydRmbQM@paquier.xyz>
	<CAA4eK1LitaeQbEYaDm-NdcrRS4Ev9FuDSVhVzMU9S+pnXGuEHA@mail.gmail.com>
	<CAA4eK1L5Xog0VR0r7TASq4D2rN42m-xRpRgR1MQXnpA08EVKmA@mail.gmail.com>
	<CAHut+PsTrB=mjBA-Y-+W4kK63tao9=XBsMXG9rkw4g_m9WatwA@mail.gmail.com>
	<ZUbbuiEQmNKKPv0k@paquier.xyz>
	<CAA4eK1+-k9PRXCOZcJn6wxJqEKfPTRiizE3dtZrU9yi20xVrHw@mail.gmail.com>

On Tue, Nov 07, 2023 at 07:59:46AM +0530, Amit Kapila wrote:
> Do you mean to say that if 'IsBinaryUpgrade' is true then let's not
> allow to launch launcher or apply worker? If so, I guess this won't be
> any better than prohibiting at an early stage or explicitly overriding
> those with internal values and documenting it, at least that way we
> can be consistent for both variables (max_logical_replication_workers
> and max_slot_wal_keep_size).

Yes, I mean to paint an extra IsBinaryUpgrade before registering the
apply worker launcher.  That would be consistent with what we do for
autovacuum in the postmaster.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (89+ messages)  latest in thread

Message-ID: <ZUmj9uwMkyq2V6-e@paquier.xyz>
Permalink:  ../ZUmj9uwMkyq2V6-e@paquier.xyz/
Also on:    postgresql.org/message-id/ZUmj9uwMkyq2V6-e@paquier.xyz

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, amit.kapila16@gmail.com, smithpb2250@gmail.com, horikyota.ntt@gmail.com, bharath.rupireddyforpostgres@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: A recent message added to pg_upgade
  In-Reply-To: <ZUmj9uwMkyq2V6-e@paquier.xyz>
  References: <CAHut+PtmyroO0fybs1FmqSgozKGW=dwycj-WK98SC_nNyAOkGw@mail.gmail.com> <20231102.115834.1012152975995247837.horikyota.ntt@gmail.com> <CAHut+PsMzqd-nH6XYyNLNuHgSoz8jCK3YmzWiLpBtDbcGxkuEw@mail.gmail.com> <CAHut+PsiCPEjuugjM6pKt17i7pQD+mCZw9xtRHO-JUZvSHu3QA@mail.gmail.com> <ZUM7cl5BTydRmbQM@paquier.xyz> <CAA4eK1LitaeQbEYaDm-NdcrRS4Ev9FuDSVhVzMU9S+pnXGuEHA@mail.gmail.com> <CAA4eK1L5Xog0VR0r7TASq4D2rN42m-xRpRgR1MQXnpA08EVKmA@mail.gmail.com> <CAHut+PsTrB=mjBA-Y-+W4kK63tao9=XBsMXG9rkw4g_m9WatwA@mail.gmail.com> <ZUbbuiEQmNKKPv0k@paquier.xyz> <CAA4eK1+-k9PRXCOZcJn6wxJqEKfPTRiizE3dtZrU9yi20xVrHw@mail.gmail.com> <ZUmj9uwMkyq2V6-e@paquier.xyz>

* 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