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 1vRwpa-00BZ7K-2s for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Dec 2025 18:16:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vRwpY-00CC0B-1N for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Dec 2025 18:16:28 +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 1vRwpY-00CC03-0O for pgsql-hackers@lists.postgresql.org; Sat, 06 Dec 2025 18:16:28 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vRwpV-003Xmn-01 for pgsql-hackers@lists.postgresql.org; Sat, 06 Dec 2025 18:16:28 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-37b983fbd45so29156721fa.3 for ; Sat, 06 Dec 2025 10:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765044984; x=1765649784; 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=Io9Cidwbx6X4oOBoJ2om53L/Q0XaoZWJg+Ycp2MA4/o=; b=IQ6/dTJ5VIDDMOqixYq23BKRqfsZPK7HLIQSyriwJUWLRs0cAthLArmJLhPiJFlclu YR/wc6cE5qtijDHCYAHUSdIfW/zY15NJPOv6ROneY86tpzZtF83qu+64SXC0a7ADZ2Qh fPBBdesuqYGwFjqt10Mx8JjIXvg/Z6NKJ5crYyhvrEqnJSQ1hIdd6gLFEBgGXJMPxMSN N4w50WC3ozNU2hTkrcuC+pHiif/E5GVj7aTdw47E1dC+/rSkjaSbDKb9wOOpOjvKA1ag DZXBNhbRnoq2EefsbQH00l/MN0fL6+WTF/TtWwJszgVXialllkabC+KhiLOJb5H4DWvs tWsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765044984; x=1765649784; 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=Io9Cidwbx6X4oOBoJ2om53L/Q0XaoZWJg+Ycp2MA4/o=; b=I0wxvpn1ePq0cX6KsCLyjKlrHdarfqf6g1QSapNmoPi1bfcstUyugA+3Dkw5aaUDxB EoJjYvsvN07LlKQhCLccY6jh1XkyiS4o0FNa5Yuvh9l+9H6TBG7sBnSmhnnqX5Lxkedi ehlK1B0SD6R9802nw/bEZomLDMiz2MBNFmiD9DQrsZSfD5WklBDF3uUSlUpR/jmpdVWh RK1sog5167QO9mJNNE8XGOP+TsFPIKOTxMXFKapah30zk8VEzVAEDEkPCLDHFEM1yfGc R3OvG1JAT7YiXomrU930sILlmp4LxME/9Zt9w6EhGNYiHvNaXY3hiS51Spb9Qt7Mbhk7 AkcQ== X-Forwarded-Encrypted: i=1; AJvYcCX2a+PY0skAg8aiv0hJLcgY4Wp9rNU+Cx9/gb5Ik3TKz9odmfK/k1z48tn1S1tq28mRWtpxZ7N73JtmjuP2@lists.postgresql.org X-Gm-Message-State: AOJu0YwmuJn1aGXIFWtygJq4vThZOzraZMjmxFBq3ASOiZNvQwhVRG4T aXkMWqnTpMoZrw265twN+DZac8vOHGk9P/w2S4vHDFX8c0hn5tRI6Jekmq7uMnDYYF2V3MYgTPs z9rMcnsN0OeergvNE9MtxtXsx7UtP7XwGX2tyqlo= X-Gm-Gg: ASbGncs9YXDsYZ2IO3BzoVIcDpfEnGHgBmBc2b77aVtTP9O/SwA7z+3K4I/XDBX3Fwe t6nq2aWIdhz1vSIYqybAmNluqr81rLwPy/CanjrvLRh6gtujI3W7n9vVsXRTJz0S0ZUUtYGhUtH gBjxspyWofspcfT3heoRUCG1PPXdwcX/C/PDu1EEaXpalFp4UF2N3CqJ/ljjbNooiCQHzAYD5IR AFhERnEaYW5+yk43YtIm3xyGsezp+DmxkzFo/vfTbX1bECdzxOlVgge7BK3bU+amwej+uEst64i gxDWfihAL3gM0DmrcwVds8/pHlrBBY9hmnn2mB3e X-Google-Smtp-Source: AGHT+IExl4hzTfh4K7Y0gUmG6gGzR/GMx2Sxl3kp4tv0eiRQ+RPIddpeFXSZfPd3Q1voCx5Z0eNkL4DlK9jRbsZBz9Y= X-Received: by 2002:a05:651c:541:b0:37b:9b58:dcfb with SMTP id 38308e7fff4ca-37ed1f9e209mr8899261fa.7.1765044983437; Sat, 06 Dec 2025 10:16:23 -0800 (PST) MIME-Version: 1.0 References: <202510301734.pj4uds3mqxx4@alvherre.pgsql> <116433.1764870207@localhost> In-Reply-To: From: Mihail Nikalayeu Date: Sat, 6 Dec 2025 19:16:00 +0100 X-Gm-Features: AQt7F2rRVIxI5FY_vics-EgxZ2MoQvBnH8im8dhL7yENEyYyfBssBO3Enz9sCjc Message-ID: Subject: Re: Adding REPACK [concurrently] To: Antonin Houska Cc: Alvaro Herrera , 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 Hello, Antonin! Some comments for 0003: > /* allocate in transaction context */ It may be any context now, because it is a function now. > result = CopySnapshot(snapshot); > /* Restore the original values so the source is intact. */ > snapshot->xip = oldxip; > snapshot->xcnt = oldxcnt; I think it is worth to call pfree(newxip) here. > "This difference does has no impact" should be "This difference has no impact"? Best regards, Mikhail.