Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wSKYo-00376j-1p for pgsql-committers@arkaria.postgresql.org; Wed, 27 May 2026 20:09:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wSKYk-009Qb4-1u for pgsql-committers@arkaria.postgresql.org; Wed, 27 May 2026 20:08:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wSKYk-009Qaw-10 for pgsql-committers@lists.postgresql.org; Wed, 27 May 2026 20:08:59 +0000 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wSKYi-00000001kDG-49B3 for pgsql-committers@lists.postgresql.org; Wed, 27 May 2026 20:08:58 +0000 Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-7e613b4f268so3258579a34.1 for ; Wed, 27 May 2026 13:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779912535; cv=none; d=google.com; s=arc-20240605; b=B9smP/ro9nf8A92WwDOLon3VOfl/XVw+qRF0ptCRoUNeff113ygtIsAOlpXhdPCpX3 Txd68D7Kdrb36aY87vgZIpBZLlmygofZnPtDZGQ3uXdtKQgMKsP0xsKiWyzl0ZvhCp4l Z4O2X3L73OlIFkLw/8pkRBZW8qtotfX47qcHgI2gHlmebMyGSagfxy+xFSD5GSjWe+WQ jGzA1LoG+v9LnxtFiR8gyEf1n3JcAOElIC09VHV2xC1D5ODx9raOvKuD/DDD0Tjf15pm f20Flu/xkw62uDD4n6lcMiBDxaSyZqKvGThSdXwG3wvId3537v+vePPis/bgj3c4fQvk 57VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Pk+KiC+lIz2eHWnJpQYxOE4mWG6bgfh9rJBzWvKUmLM=; fh=7WxH8Ku6WEnEPIn+dx2V957viZMJGtG7Gav34u7UVlE=; b=NadUMGAhtHyHawT2ri5P5wfadjyV5jCLSD9eSfLPHDg8RhaAj2HkJQMGqsOWKJmSa6 +UwhBbqGr0BxbRcwGqYpxRSa49/H5SUb9NOmV78EFUV2mdEUOFs5jNL02Isohj8ByIfC 3fKwtdecRsv/D6819DLmg6upc80pyTtuUxWsFLyGX93hHPkGl1X1m5Tad2t3Sz5LfIMN uSv6pfGIU6SnMpu1rep1/CsuAhOxx3Lrts/A7p1Oa+ZOxe6Os5yUtLaIgxbdWbz44pUq LexLs4d1D5fS+PkB0sLVl8H2d6dryL4PAANPKzWNR5tgM/Prutc467Q7uiU0Ju3OJuBP sOfA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779912535; x=1780517335; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Pk+KiC+lIz2eHWnJpQYxOE4mWG6bgfh9rJBzWvKUmLM=; b=ZPq+Hob01sdf52U29L0S8VSGvuJ41ZcCNTnuzRXvAFOtWrFyz3uIZVct0rh3WNEqXc LgCVzssuv5jQceoAedwAJ4faTkqYu6mvyFnmQcyJQuNID3zUkDvG/T+WdrRE/QiPzVGK s7HRn3sRQBS/8gv1zjuJyBD/+5TAXxv8fdW8AQnYNOuNCkbtSePjPfnCG3tBQIzW146y 2clfMlmHAYQoHRd4O5e5Vt149dF99wAeqTkZUdNNYZxJfglaqrSHO1KvXHRZLh7bH893 Fhnp+Tx5IPEbhwhEoutB45p/hdfSaD0ZQXdHIp+v5MT4Y8UsN50AYZ1t33DWwcxanWoR 95nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779912535; x=1780517335; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Pk+KiC+lIz2eHWnJpQYxOE4mWG6bgfh9rJBzWvKUmLM=; b=OHfwWvIsmeCvTnvwEFDGTsdQ+y7QhQBNJx+2sJrukqgfVR1JZNszTvQ68Le0BF0X0p fGQXhFth++yX3SJLi4BMnZYxTpZBlZxu4bZYIl/oRCNSuD8BKDFtJNBqAimTpaWGPuxf vR91E0ltNKspfyWAiQpDv62TJUzUXozjJkEGhYhwat8v2iKRVTZ9CWVw1WE/Z9D5EoS1 1EFuN7PqDUuxsZuIiVuI3m06cAzvcWrfyXwDKNi8SlNT0cagsWySlhwsjwiqkqKRxt/S u8S5ibIhmAZjM5IvROstq7lEqM4SDvxSrTGy0X44Ed2hcYunfSeU4RUOI8h1SeTHPU0C WExA== X-Gm-Message-State: AOJu0YwW3WwDtHhSNAwqAwMHsiQZ43KT1xYBxt6+3lxj089hRNfatoij vcgDK5wM5wzFGDrPc+uvTUH6Vi+LhsN+1c7Mw/FpDDJLmSSE7QKI3HZyJrPNiDapwK6sNMdbtyK BAczgve5a6eXTWtXDB4AT6jkHEH7+ERBl4EpjVg0= X-Gm-Gg: Acq92OFAhk7iC+0UYG3iaVs0sixhLFqP02rbcAe5QrBEU+u/cEbksKLGpNjmHS0hJYY oMHnVuqk/ZgrpPaytezuxS57QcxQz/7JZT55syFlOshxKDQTLfnwyjoLqMiq0mjOJDm0yUGNP4/ 2X6oQ7YOz7hTUZmD7J1Sg96FXtAWhCfL6sZtwgXrt+dS8gge4RVR9VusrYR0cPJAhpBljyj5PTo taV0EhM9n1pfe+KWXlwb9zzHHChtnAw1AIDSn8novQJ447IBnAPc2aH+rQP/q0t741/CgFqRp/B gaLHJzJzTYOdMWowEpUEduKsx/CMhHBDLR7bE7NfRKYb6S3Mho+tOrFKtjA1y42nUFYzl7f9QVQ wT8qY4EcA/wdfhh3nJkM9zLAgAJzf X-Received: by 2002:a05:6820:16ac:b0:69d:8cf6:2e5a with SMTP id 006d021491bc7-69d8cf635acmr10159371eaf.23.1779912534727; Wed, 27 May 2026 13:08:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Korotkov Date: Wed, 27 May 2026 23:08:41 +0300 X-Gm-Features: AVHnY4K2k0ikRPlwJTi5dX2ge38hj0-c2g7ZLUi9_BlMLrxBF2DdOsgNWTFaD00 Message-ID: Subject: Re: pgsql: Disable logical decoding after REPACK (CONCURRENTLY) To: =?UTF-8?Q?=C3=81lvaro_Herrera?= Cc: pgsql-committers@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi! On Wed, May 27, 2026 at 9:14=E2=80=AFPM =C3=81lvaro Herrera 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 > Reviewed-by: shveta malik > Discussion: https://postgr.es/m/CA+UBfaktds57dw2M8BEv_kS-=3Dixph3w+3MxKix= taDQMi_k7Ybg@mail.gmail.com This seams to cause buildfarm failures, for instance https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dloach&dt=3D2026-0= 5-27%2018%3A25%3A00 ------ Regards, Alexander Korotkov Supabase