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 1wM2H8-002Bal-26 for pgsql-hackers@arkaria.postgresql.org; Sun, 10 May 2026 11:24:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wM2H7-00EoMR-0s for pgsql-hackers@arkaria.postgresql.org; Sun, 10 May 2026 11:24:45 +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 1wM2H6-00EoM9-2w for pgsql-hackers@lists.postgresql.org; Sun, 10 May 2026 11:24:44 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wM2H4-000000017Lp-2k6v for pgsql-hackers@lists.postgresql.org; Sun, 10 May 2026 11:24:43 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-3937014be0cso30233481fa.0 for ; Sun, 10 May 2026 04:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778412281; cv=none; d=google.com; s=arc-20240605; b=dstIu7NuC84jwY649ptdXjFTrdDnmGLDHPbeyTTRhw7eYeKBM54k+htFNjU6Ryyt5p b57wKS/2sOkakueAb12kVe0kS6/xif1DzcmfFAHpI+vy5U3HBWEX/FJaxPKtRRjcHzj/ irFYtr90128UcWr0CZBHc0Q4pbUDTHAIrKWgzK3OIXZnyA7WjKvGu8nLTNI4Uhjz844r NpcsvDskrIJY05jYObB8YvsVUT4jIgOZYovsLAlEtbiU/6YZK8v8AqbflZPY7xFMHmiw ZB05DuQaJK3BxPMzZlkX6uRmQWo4OeNw88f9kACuekGur2hIVpqDe9fAe9iF9mLrWxz9 BU2A== 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=1Jsd84+94gduTk4r7o1LewFEQfgoL48D4p3ZJYLh01s=; fh=4wg3G81XI/xdMyTfgy0VnL/aJaSISHagneIZLYHBwhg=; b=BkYrduWJt4Q/YDAXPkUXmYxb78g4CDBoYyzUy8YosnugABYFaWSwgVb4J9RjimkIMC ojRU9yAEueLo/K0+othkPkJxpSadIeyB0BFCILO5TrVY0oTJWtjB+SwcNthfk4AQlUY0 fSVUAMWk/8uOGy9uTS4dGP3UBzQGHJ+FqBbjaM3IertSpo8z2ssRhsjy7mZiKp5Isv/W khsFwyHssht5fXlkdUp/0XMm2vJrKKWfY7NUbdrrYLS62sYd+F1/dTDY6nHXRWfTVuVm vah9FKvQEERFvB0KbHGX5gXSMZg1BnZYDz6jhGuHHixAHcSjncP0N/oSjS0QtEEO4+ND Uqyg==; 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=1778412281; x=1779017081; 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=1Jsd84+94gduTk4r7o1LewFEQfgoL48D4p3ZJYLh01s=; b=EfQzqqLzcsn42EEr/61Qii/3FTCEacK4tmysdywPWWc8h8WmS1U62+yfXYhMczTFpl vr1yX9AEXkRsbY3Y7Ta8Cf4p3SUe4Ypan2I7sjiwvdv77QC7ndKU7JvJA5ErLSVZgbAw Sy3kJplixkAZtj2gtFFriXU2rwKgnJAOwBwtaseXGLOtEuiVyWCddW8qgdFR6RgD7BFg CTDocq8ilexeusUkgiHeLTYQHsN/F1ZFwh5ACf7Wu0K8cWdXmYRFQhkk9nK64UzqnSzE GAT4Y/tkHS++HgQC7qi/U3vDhPB/Nszgb+HHKdcIk3/IrnpkCtHwYlhuSfyINuqDYSPe px0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778412281; x=1779017081; 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=1Jsd84+94gduTk4r7o1LewFEQfgoL48D4p3ZJYLh01s=; b=WC9iDWMr1y81P21Jzyc7rIhJpV6hCukk5t2zDm06tYbJQILTlAvo5nabZt+QnhbfXo FKfPSBPiXjm4uYouTwF0Zoid4/gHZOt9FNLVWuuHYK0v9abSj/fd8LkPr0kaDdfgQhe2 btKHtnaaSdE5WIiO6UmOk5XzOvH7FF3gA3DVpZiVOxE7vm7jVhv55Be8N65It2B6ntvD gwp3DL0lzTcLOyetvtAXZX2guSjhLsr32h3Guldbpy1Al02cib1kizpv8Z+UUs+1PKSJ K/L5IOi5QaZx5meuc/Imi4k7SPyhoeksrRxPxnWLbLkKOKFfZ31TmDZTcd/Gc5B30bZM Kznw== X-Forwarded-Encrypted: i=1; AFNElJ/naATSx3KNi3Fv+eQ6KWV3n9+FST4KjrE9nFNDr0ngwjA6QFTDU2V1irGfB4Nz1ehRhDRmIl2hdfFKN63k@lists.postgresql.org X-Gm-Message-State: AOJu0YwsPjdolc65hvaLvOxVa8GTsXpFux55q5p0o4T/pc9iUinHI4TC NRdKswpIHXde+izco7K2W+T5JfqB9Ur6Km3DmbkxUqKyNPs6Y4WTTKHPm3bH3lODIfVz7vPhMqU 3EKnXu5mQsPXqfJARvP/NMyFztz9ReyU= X-Gm-Gg: Acq92OG5bEAoFFlb4l9ej2dFWJBty3ObbHiuCoP5HmnRyb9eF90IQ70et4rer0voFzl DM+lBA6cWBGArd2sgv4/KQhYtznMZpBJFEKbGcSf0UASOyMxTvRvVDDuHIKGessQ8Tyt6e01XBQ e93NNB5ZGMZyPIM0S+E0waV99FzBMPc41C24Erof4HuAp9AhXGIUCuZZqXTW90d4K/vr6fl5jwD rxHdPERq8rYWRoHU1nkVPFGwI22SXQ1VK8GKw0jg78/kbECo1p9KTB5BpQWS2ph5mNVD4DwVhUW /A48J3ndN7YUi9CUyry9WwVqy9+T3cR+UT0yHVoz205PzrfDdrKjf60S6f38TeHIpxHz6qiOAn7 TtaAGBIOI X-Received: by 2002:a2e:9ac8:0:b0:393:fa0f:d64a with SMTP id 38308e7fff4ca-393fa0fd683mr25102641fa.28.1778412281187; Sun, 10 May 2026 04:24:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Sun, 10 May 2026 16:54:29 +0530 X-Gm-Features: AVHnY4IWYe10EadfHe1qiefLBysLZPTzRloihByWv56jRZz6SqolD_Y8RIrBRXc Message-ID: Subject: Re: Adding REPACK [concurrently] To: Alvaro Herrera Cc: Antonin Houska , Mihail Nikalayeu , Andres Freund , Srinath Reddy Sadipiralla , Matthias van de Meent , Pg Hackers , Robert Treat 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 On Fri, May 8, 2026 at 7:28=E2=80=AFPM Alvaro Herrera wrote: > > On 2026-May-08, Amit Kapila wrote: > > > Some issues/inefficiencies regarding this fix and base code related to > > db-specific snapshots built during decoding: [...] > > Thanks for spending time reviewing this code. I think none of these > problems are fundamental in nature, but they are obviously worth > addressing for 19. If we hit some roadblock, we can still revert only > db-specific snapshots. > IIUC, the emails by Andres [1][2] on db-specific snapshots sound like concerns which are fundamental in nature. Apart from that as well, I think the first point mentioned in my email [3] should be at least addressed as that causes additional WAL even after reaching consistent_state for each runing_xact record for a db-specific decoder. [1] - https://www.postgresql.org/message-id/cdgw4sbbfcgk6du3iv54r2dgiy4tfyw= oklbotlmj4irxavdcr3%40glxfw5jj277q [2] - https://www.postgresql.org/message-id/pveffyxhnuurhb44uzqlwo3rkyzorkf= h2rot7uwzlf2axhfvbp%407nrs2omysxkc [3] - https://www.postgresql.org/message-id/CAA4eK1LygCDP3FiFzXY9iVNFcHxhf7= TT_DFf7tryTu2oipmfpA%40mail.gmail.com --=20 With Regards, Amit Kapila.