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 1w7vV5-0002HM-21 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 13:20:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7vV4-0009zJ-1B for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 13:20:50 +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 1w7vV4-0009zB-0A for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 13:20:50 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7vV2-000000000yX-0vC5 for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 13:20:49 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-487012ce896so42563625e9.0 for ; Wed, 01 Apr 2026 06:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1775049645; x=1775654445; darn=lists.postgresql.org; h=message-id:date:content-id:mime-version:comments:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=YI5cqCvri/t0VhJ4LSZw1FCbrNV3RXXJ7GPXjOWkfCU=; b=PVsoo1cMvn/JKMekUQvCz14M0dnEvQ4GfH7gW2qzF5N7iZSTl7u7N7vrDXv0ofz8/4 vp1KSTlnmq1sXRSHoO6oHJJxwM74LOHlobhptUme26A90+EifSLnezm1ErFvi15tX7Qt CuKXeCTLrxXeNO7G5tS778kFOBJPIpZ+2t9Uj/fZUwUfSl09TOO+QGHdSQs5q0nLP+fW YLMO6qPI1HVUbrpR5pQEhBGL4h0KEej8bueI1O54fR5USoKBAMMoiLkwP/dQqjXcTzhy Stmq5zr5xRY9PAgmSS09UmeAbWe6CoH3dLwVDKhikrRD2OJoudoTGIo1AZcmJsi7Ewvw +diA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775049645; x=1775654445; h=message-id:date:content-id:mime-version:comments:references :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=YI5cqCvri/t0VhJ4LSZw1FCbrNV3RXXJ7GPXjOWkfCU=; b=nKMB9LZFK8u+8gp1p3xGWoLtHHd9rjxs0u/203ig1zL/q+6Un7MYiy792d+gFxq/1e VYo6qbV7m1CEbQqZF8nuJL9MD92zYDWcwZqfTIYmq10Ya1Y2KnjxQk3ITb6WOjIoKORp TRrvmCmfcmGe5R67fmMrObIAP9E5M+CzgVonOBig6VIaeCGPhWwUMNYkXm/GfUrbx7oy pa9sxVGH9pOVUjHtBCq9VE6HSZWvIATC/Iarrul2/U+u1IW3PGgRjgXh75oBcgRvlomv E5R7cOvZcT18GUFoXAUVQ8mssHgELjYHPqDtKmvS7XwpytWC8q54lf4pqXX2rPz+oXf8 gOWg== X-Forwarded-Encrypted: i=1; AJvYcCVh/nXaFy421DaUHlmGDGdGekvByGgernA1WGJdu06V9E9LfUjosKYgJceMffRXwCbIgdkwdkwIBynmuwUg@lists.postgresql.org X-Gm-Message-State: AOJu0Ywr6rT7ULYH8v6LC1/G0LnrGtZO/TN+qbBmdPONBFYfzfWwmHR1 mCrH8GfSkGfl2vBr2ZrWV61YE5ogqswdeHBlMduZ88xWrevx4mXgGv4l5xOqQe33vlk= X-Gm-Gg: ATEYQzy8lmVWnhmh+pGSy/4ZBgi07P0O5o8DnR+pK/z/MwzarDD3zSrKBKgGOPFboVt JRFiy5de8gAAmdBn6FMfhT0eE1Dig9viZC/dtmY0jamVga9jCeDGTyN1QrgbH4Hu2YgLLMTbkvs Ubl4DL2hxT1VQNkWZd1fiHyShCiCxhj+KhHkhMekEuvqclX+mx/FI4cdLzyn9cJ0aDpeI6KJLgp EdBICliCiww+H8Y5BViodI74aosKsSdjqsag7BOp9taZZ8bewYX4BeIlSs3tsA/mOtnNPAfQBSR D0SrT+gcGcDg//LegPZx7LroXs0rPl089Ljfor7ST5/GvL5u3dw59RmmyR1yDQ2XRwl//PwmXzi MWhmvzK8McvBr8F+xFrmmPiiQBD5hEYSKJiJeYpP6aedL/JeWRfgLDCaHxAse+YjtxMoqqrMkOh mv3/QDf9aUu0HpvD5li+4z0YYhQGe/rwuRM4oO X-Received: by 2002:a05:600c:747:b0:488:869c:eda4 with SMTP id 5b1f17b1804b1-488869cef7cmr21302215e9.21.1775049645383; Wed, 01 Apr 2026 06:20:45 -0700 (PDT) Received: from localhost (109-81-168-142.rct.o2.cz. [109.81.168.142]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43cf245f8a3sm37833979f8f.24.2026.04.01.06.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2026 06:20:45 -0700 (PDT) From: Antonin Houska To: Alvaro Herrera cc: Amit Kapila , Mihail Nikalayeu , Srinath Reddy Sadipiralla , Matthias van de Meent , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] In-reply-to: <202604011042.zdevjay65ws7@alvherre.pgsql> References: <202604011042.zdevjay65ws7@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 01 Apr 2026 13:42:17 +0200." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <198172.1775049644.1@localhost> Date: Wed, 01 Apr 2026 15:20:44 +0200 Message-ID: <198173.1775049644@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera wrote: > So, if we're unable to get this particular patch in, we would have to > have a big fat warning in the docs, telling people to be careful about > other load if they choose to run concurrent repack -- it could have > serious consequences. But on the other hand, it's better to *have* the > tool, even if it has problems, than not have it. Keep in mind that > pg_repack and pg_squeeze also have all these problems/limitations (and > others), and still people use them. 1. To be precise, pg_squeeze has this limitation. pg_repack does not use logical replication. 2. I expect the limitation of PG core to be relaxed in versions > 19, as long as we integrate the MVCC safety feature. REPACK will then run w/o XID most of the time (XID will only be needed for catalog changes), so other decoding backends won't need to wait for its completion. -- Antonin Houska Web: https://www.cybertec-postgresql.com