On Thu, May 23, 2019 at 9:30 AM Sergei Kornilov <s...@zsrv.org> wrote: > > wal_level is PGC_POSTMASTER. > > But primary can be restarted without restart on standby. We require wal_level > replica or highter (currently only logical) on standby. So online change from > logical to replica wal_level is possible on standby's controlfile.
That's true, but Amit's scenario involved a change in wal_level during the execution of pg_create_logical_replication_slot(), which I think can't happen. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company