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 1w29aq-0002LL-2H for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 15:10:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w29ao-00AlBw-2y for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 15:10:55 +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 1w29ao-00AlBo-1r for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 15:10:55 +0000 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w29am-00000000RbK-2CjS for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 15:10:55 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 39C8F7A0147; Mon, 16 Mar 2026 11:10:51 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 16 Mar 2026 11:10:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1773673850; x=1773760250; bh=7 okgPzV7qHOXhMcQ7Skuyeuxq38zBYavHjhO/mRUaPo=; b=z10ETFAer1fAT1OaM 9Uig0t5fjdADRVhXL8aEtcMEDKwAO10tUKKz+1uIrh3yaUb/auISK4k5t6pDvsqw +CdJ5soOY3vwazJwRuxt7PTm9F5cPWa2d9j3PuCtZKZ/pXgw1IxtT3nJh+rNLnnU QF+IJCPGa2cX+swvkCY+CfZYxzCcPmPXz+Bgp3zPADsqKYXyVDYbpIs58Y1uZpxa 6cNJhvuCmSiS64X/wyUjD/QA1iQqk+SaRmj+ETmN6msg6a5FBleoqnqHwOTpv3yE XSl5z5zmzIMBlxUX+hUv+0NSRXUl1huwTUuDF9PdATPjHbf63ez9/YgVnAxOxQMu 2JZKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvleekjedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeekfffg udffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprhgtphhtthhopeehpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopegrhhestgihsggvrhhtvggtrdgrthdprhgtphht thhopegsohgvkhgvfihurhhmodhpohhsthhgrhgvshesghhmrghilhdrtghomhdprhgtph htthhopehmihhhrghilhhnihhkrghlrgihvghusehgmhgrihhlrdgtohhmpdhrtghpthht ohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorh hgpdhrtghpthhtoheprhhosgesgiiiihhllhgrrdhnvght X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Mar 2026 11:10:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1773673846; bh=0p1OdNOKxzH9dsPeGHDWG5GxAEQV/XnudE47rdH8WTM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=lRoyXOzstT0AuaBVbSbCVoENs16hSYzqNJkJh78wLiX64I42DP6pGFdHk8j9F4ykk wf6y77zpOuO9c1YJsB41EugZGTUhOXLqyniiK5eVX2xjDBZ/GcMcIWtF7pgOElUgCx PoSQh3yKVg6YlyTwM4ue7FPkN25AXThWQFumPJkfeouTjYduqHIyPlfU8vCDwL39F6 8bB7ma2MXgb+Dcwz4DOq8Rd/IwzJ+9ULkQuBO2vnj4pck+EuKOri6XkNrD3neovm2h z88tCeNE5gV6FT6WW6Lf4JgeqMUGJzgzySvsADX96rMnViyb3MTh6mEP5xtw3lsE5Z 5+hSB6UycwGYA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id F2C2F7B; Mon, 16 Mar 2026 16:10:46 +0100 (CET) Date: Mon, 16 Mar 2026 16:10:46 +0100 From: Alvaro Herrera To: Matthias van de Meent Cc: Antonin Houska , Mihail Nikalayeu , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] Message-ID: <202603161503.oft3hnonplyi@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Mar-16, Matthias van de Meent wrote: > Note that most of my argument hinges on the impact on other, unrelated > databases/tables/sessions. Replication slots have a hard cap defined > at startup, and effective_wal_level increases the WAL generated by > practically all backends. I'd rather have a new GUC to declare a bunch of additional slots that are reserved exclusively for repack, set its default to something like 3, and call it a day. If all repack slots are in use, you don't get to run repack, period. A slot costs nothing if unused, and we really don't want to make the interaction with regular replication more complicated than it is today. > However, we don't live in that world, so I am opposed to allowing > table owners without REPLICATION to take any/all replication slots. I think requiring REPACK users to have the REPLICATION priv is rather user unfriendly. Some potential REPACK users might not have any other use for replication at all. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "World domination is proceeding according to plan" (Andrew Morton)