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 1w2FkV-0007vw-0a for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 21:45:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2FkT-00DOVQ-0v for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 21:45:17 +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 1w2FkS-00DOVI-39 for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 21:45:16 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w2FkP-00000000Ukn-2y30 for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 21:45:16 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-38a694a3cf9so41861141fa.3 for ; Mon, 16 Mar 2026 14:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773697513; cv=none; d=google.com; s=arc-20240605; b=AK3Bu33LWB+wzusGDco+q6Dzuwww/MqmF+uk9wL/Fz4vQhUxLj17yt3aXXbDhax9Oq RvWjdujqu0UnEF5OTOCToOkOCm2YU8hgQ0J1UeBGDbOe4JqerespoxE05jeC9V9OQwtH 0eZQxnA/mo8f1PbTBdF8ocjmL96nvBz7zmf1UMG/RohoPnVrdhQWF6ExIxMdP4uI8cFn 6cUvTWuo2ZVrCFlvuLUkBDagVl8dmZ6YKVgQ93bHOqPYGRqf4t/Z1PvaqsZONRd+LXQ8 PHlvTHDBOotrpS06UlSm/VLGS3IM4M+I6NniJPU/wOYnEa+d5yQGtVCrQt5/Rw7V5tmj 7cgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=6GbSligaei7Fv4QGoXpMgMpogKoScidwYlOITHaqz9g=; fh=QjEZmf0AT1HRf4/WWDw0ldA00sbEqZDuBiuUR3w/t3g=; b=CZL1dT1uQhZZtSgcbl4HDFsVlO2m/pup0NNdmPn/y4Qwkbui/bEn9sCQtnmZMLtIk5 sC2D0V8HNn/IGCoDrwJcTcbLrwh6TITT9t652Yb4y9LovF1lCyJDnWrvKcV7UI7rSDEO SU2MM2bF2kAEY/3Rd3Kls2mLcHaGRF/GJewczahOnYisiBZU29tbBz85uKbsO+19Fs6Y ySsYXVVyStKmd1ft6DvGfs0ZrxIhY29zwn9oOWyBwz/aY8hpmlCS5D185BAUYCpQAUs0 oyt3i2h2H7ReZ4hGc14YLK/ZwJadWlPNWYcDgBFO0Qj40XHFTtCgd9ARH4aaq2ruRApo qE9A==; 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=20230601; t=1773697513; x=1774302313; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6GbSligaei7Fv4QGoXpMgMpogKoScidwYlOITHaqz9g=; b=Jv01QqgSaE7YxNharxOMWSQI1x25rc/6Kz7u7YnxNRk35KM+WqCCqtRgjonrueHRw9 e6WD332XIC6hUPBn8unlySsB5odXZ9WX3Dw4P3jq6kfWes2PpPQ8dRuBjOd19wAmHPF2 rzyJ0d5kG5qQiXB2MSWSGcnW9tF5f5w3TRdUsfhvVX+GAkMVxwssv1lH7VZbQrFmtx1B E+TACKVqdebBD6N+kehrQ677UlXhIVik3BKiU5aBXVTf893e/w+roTc0mUaRCCuLvJqP vW7f3dwicqda+NeT5DnHmWLc1k7g+dn/dcmKR1TxETIyTuOtQUXZU8/LuJsue5XGA9ab RkMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773697513; x=1774302313; h=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=6GbSligaei7Fv4QGoXpMgMpogKoScidwYlOITHaqz9g=; b=S5CGRCicGyuQEwau6hhFxp3KxXJ6+3W2PiODeo2Ed6K4dEwh3sFHuzTjLsi4weL0sm 1sSwaxWS+sKx1L5nK7wnBMUvaQ5BFBvb/zUIxjCvav/5f7fEpSyn1NlgrIyf6Fi45oKW C/3tVsmpDrRMTgM5roC3D0C4qlmsk2VagkjK2h5Hg92pfTCveKrqFeJtw/Vl2FyzgHkz Yh8471DASiDzBmufMfiekCfYqlV8qyLW9KrWquVQEtKPFE9os5xihnK3B28McL1tGsZK jGmasIOiLE34PW+Lq6IFLSTEtILSk4vaKWN8aCVndAaukhRfS+B0PxyWheWXakq0qwAY QENQ== X-Forwarded-Encrypted: i=1; AJvYcCVlj/ulKiirj4I7EvdNzGf68wke5LHW2xQ57hXg8rfSYfG6gmZkMVa+CmaS7MiCTjS94tY8pNeYg5ABoic6@lists.postgresql.org X-Gm-Message-State: AOJu0YxDg7nu5HAjBshbJf5Co9bwXVdEdDsCm453o8EmSPKjIe9eBmjO 6JRHwo24mNsw57e6lCHMV4dZzV9KyG/84K5GblbV+49MKwH4CfwcQFNVdcruHbbAP8OY8+QC36U 1Dv4JTXFSZABlY45MkJlFgfDATYyfepc= X-Gm-Gg: ATEYQzytdOTsvTtKlWkP4QjIFCQItCUeiFsILsDqtakTzSY8LmBZW9LoHTQDPjcucI2 4VzyBgrbsFR7FvTWAVCpDaSQveAY9ZP0YGynhAbsViYPdg3fxh5s3Jfhj29NHJiXusFZJ4+SQQJ CDhDCmIuewSc/2BuC+JwEE7UHsthjAPfFFr6NmartYzbIlQfNaIYql/GXRaP7Fk8yjBVdAeV5d0 7xbhuiC7y2Ld1hbFPavbkNRX8ICa2CZv1KB7F75FmZH95/2K75F+ohXE0Dhl8nqdpQyjMVVv4kp 3Uw7qDNVK40ASMoLGvnLMeIXXCTcG1Ipb81HlRGHS77T1TmoZwlqMeaB/3SaxKCX1ieW0XC16ge W3j3BoBj3TcA48Kc= X-Received: by 2002:a2e:bc20:0:b0:383:1c5f:84c7 with SMTP id 38308e7fff4ca-38a896a9654mr55784631fa.12.1773697513163; Mon, 16 Mar 2026 14:45:13 -0700 (PDT) MIME-Version: 1.0 References: <202603161927.lwqdfh5pelgu@alvherre.pgsql> In-Reply-To: <202603161927.lwqdfh5pelgu@alvherre.pgsql> From: Matthias van de Meent Date: Mon, 16 Mar 2026 22:45:01 +0100 X-Gm-Features: AaiRm53kMaU-D_Rv6vwOBYNo4Kohw30TqZs1I7Yt0HPOJhBFzl4DSigJ_qGr3BY Message-ID: Subject: Re: Adding REPACK [concurrently] To: Alvaro Herrera Cc: Antonin Houska , Mihail Nikalayeu , Pg Hackers , Robert Treat Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 16 Mar 2026 at 20:34, Alvaro Herrera wrote: > On 2026-Mar-16, Matthias van de Meent wrote: > > I agree it's not user-friendly, but that's the point of limiting > > permissions. Users can't install c-functions without SUPERUSER, > > because it can cause cluster instability and crashes. Users can't > > create slots without REPLICATION, because they'll be able to > > negatively impact the whole cluster's performance, and possibly, > > stability, when taking up replication slots that otherwise would be > > used for critical HA purposes. > > Well, as I said, these repack slots would be separate from the regular > ones for replication and available only for repack, so they would not > interfere with the count of slots used for replication, so the second > point is moot, isn't it? Sorry, I misread your response as "if at all, then at least like this", instead of "let's do this alternative in this patch". But, yes, a pool of slots used exclusively by REPACK CONCURRENTLY would also solve the slot availability issue. Kind regards, Matthias van de Meent Databricks (https://www.databricks.com)