On Wed, May 27, 2026 at 1:09 PM Alexander Korotkov <[email protected]> wrote: > > Hi! > > On Wed, May 27, 2026 at 9:14 PM Álvaro Herrera <[email protected]> wrote: > > Disable logical decoding after REPACK (CONCURRENTLY) > > > > REPACK (CONCURRENTLY) uses a temporary logical replication slot, which > > is dropped once done, but it wasn't calling RequestDisableLogicalDecoding(), > > leaving effective_wal_level stuck at 'logical'. > > > > Fix by adding a Boolean flag to ReplicationSlotDropAcquired() to have it > > request to disable logical decoding, and passing it as true on REPACK. > > Other callers of that function preserve their existing behavior. > > > > Author: Imran Zaheer <[email protected]> > > Reviewed-by: shveta malik <[email protected]> > > Discussion: > > https://postgr.es/m/CA+UBfaktds57dw2M8BEv_kS-=ixph3w+3mxkixtadqmi_k7...@mail.gmail.com > > This seams to cause buildfarm failures, for instance > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=loach&dt=2026-05-27%2018%3A25%3A00 >
I've just pushed the fix (47ad2233fad) and hope it makes buildfarm members happy. Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
