Re: POC: enable logical decoding when wal_level = 'replica' without a server restart - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Date
Msg-id CAA4eK1JTy9B7ABkT7Np4cHOcU0MLbfFA1bVbsn=Ay_00Oqj2Ow@mail.gmail.com
Whole thread Raw
In response to Re: POC: enable logical decoding when wal_level = 'replica' without a server restart  (Masahiko Sawada <sawada.mshk@gmail.com>)
List pgsql-hackers
On Fri, Sep 12, 2025 at 11:18 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> On Thu, Sep 11, 2025 at 9:08 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> >
>
> > For the shutdown sequence, can't we think of resetting effective_wal
> > after a restart?
>
> Does it mean that effective_wal_level keeps 'logical' until the next
> server starts?
>

Yes, IIUC, effective_wal_level is anyway a derived value based on
current wal_level and presence of logical slots. So, what will be the
impact if it is not accurate at shutdown?

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: let ALTER COLUMN SET DATA TYPE cope with POLICY dependency
Next
From: Peter Geoghegan
Date:
Subject: Re: Adding support for Row Compares to nbtree startikey optimization