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 1w2AQ5-0003Bp-18 for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 16:03:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2AQ3-00B2fg-1Y for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 16:03:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2AQ3-00B2fX-0R for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 16:03:51 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2AQ0-000000002Gh-1c2y for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 16:03:50 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 330701D00144; Mon, 16 Mar 2026 12:03:49 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 16 Mar 2026 12:03:49 -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=1773677028; x=1773763428; bh=B bMFOWoM6RNFg3J3a0Ru5VS6xOuiVUuriXBJX0+y4A0=; b=DYnXZFNLJ+wfsfQVt tL5dY2AvWSRCM7n2pH87P0rS8g5RJqYbHXV/J9j8jFPxnxP8QFE6ZCTQARMO4kBa AbuFnRgNK4Q3R4dcsJ0sDd7rAfc9tcM7AvftErkWZS7wa+vYbauJ/54J9yLV+6Mn iKXAQGRD7Goj18Fv/U5fo3ufBrdC0stLa2fryM2pUHmr/Zeo8q7XvxCTsWfH4bIX TwT6kUgLvFjtYiKpm37shxlsCxg4ZcqB9yb2pmepdRgWF+nePDNiDaU2wF2UrK0M YfDV6Cd1zujv1ONIsfineioBKSs51ZA+CbsA561Ar18s9A252YgSNwCQmKN/O+6X 2gtDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvleekkeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepledvkedvueelteefffevjefgfeeuleehjedtieevjeelffeg feelgedvteekvdetnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhdpph hoshhtghhrrdgvshenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprhgtph htthhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrhhestgihsggvrhht vggtrdgrthdprhgtphhtthhopegsohgvkhgvfihurhhmodhpohhsthhgrhgvshesghhmrg hilhdrtghomhdprhgtphhtthhopehmihhhrghilhhnihhkrghlrgihvghusehgmhgrihhl rdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhosh htghhrvghsqhhlrdhorhhgpdhrtghpthhtoheprhhosgesgiiiihhllhgrrdhnvght X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Mar 2026 12:03:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1773677027; bh=sRcmzWeR0xDBBzQ/2noWeZIv1YMzgtPM/jayvLmtOzw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=qoiXDU1Iyo6rutOm+/GVWcxIKjvv8vEF6zfQJ5pUNWMvId2FBI0+C4I9dBCaw3+t8 nAnhxp+2upr0bakIkVJZm+oy9OsnDRokJwFSIDtFKpewM6E0RgNXXDnntla292sm8o SZR1n6C+GbMcOlZ2ag8wZIGoqzjqtQwkOxEuAl1sS9127hf+/bGtbXyzFD0taYG8VW cbh3NwDVnse5AUGF5VGvndUZ32YON06/Di7h/klm6BWLYEm2JHB6w8vcsK2Hd3b//B J1zOGgt6lPUPZtDqxygdtXuhJQu5IoNNL+pBXMh4x/EHeeht1B8CmLjzCalGkO9Nub yYC4OGosXiRLQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 5FD527B; Mon, 16 Mar 2026 17:03:47 +0100 (CET) Date: Mon, 16 Mar 2026 17:03:47 +0100 From: Alvaro Herrera To: Robert Treat Cc: Matthias van de Meent , Antonin Houska , Mihail Nikalayeu , Pg Hackers Subject: Re: Adding REPACK [concurrently] Message-ID: <202603161558.mtxrlg3salpb@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, Robert Treat wrote: > I'm never excited about adding GUCs, but at first thought this seems > like a decent work-around; most people are unlikely to run multiple > repack concurrently's, but they can if needed. (I think the most > likely use case is on clusters using the "database per customer" > pattern, but if we have the guc, people will have a means to deal with > it). I wonder if, longer term, it would make sense to do away with the max_replication_slots GUC (and this new one) altogether, and use dynamic shared memory for slots instead. There's of course always the danger that people would accumulate arbitrary numbers of slots since they would never be forced to check. But that may be a lesser problem than having to gauge these GUCs with any care. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "You're _really_ hosed if the person doing the hiring doesn't understand relational systems: you end up with a whole raft of programmers, none of whom has had a Date with the clue stick." (Andrew Sullivan) https://postgr.es/m/20050809113420.GD2768@phlogiston.dyndns.org