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 1w7ujH-0001TH-1E for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 12:31:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7ujG-00HUYH-0L for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 12:31:26 +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 1w7ujF-00HUY8-2X for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 12:31:26 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7ujD-000000000q3-0pfh for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 12:31:25 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-486fb439299so63925915e9.0 for ; Wed, 01 Apr 2026 05:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1775046682; x=1775651482; darn=lists.postgresql.org; h=message-id:date:content-transfer-encoding:mime-version:comments :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XpyNJnmxyBf9+FKXpjjcjQl+10rZ5FezsSR71OkhlP4=; b=ixuCOjA7YZGC0OXMtULOzuQqy4Uw08WN/aSV9RNdhxUDHLG6AdyTgGAV7H7d23er6F gxzXTIMzjX/vyCpQCveTkk4M0HdON6+c3w3b0jtlHl2l6z8ebB4GQrSGpPORWOl0/TXn KftcMqfpq6JB634nco7/bRT+SUfMcmFRkD8ciuaMeEE22HNcxtdLJELMA4l5BaDh0hDe m69kfLX8tuNpyLfivGnO25r6Vcvw35ohyGAhhM1oEeMS985+3V2cuPsto75KrtIx3Bum ZRoVKmkHcOg2ttxMkH0LDVLe5kF7TKWkSshGlCmVSd76PD3qWCDHiCWIvls3R/4Jn/sl EIig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775046682; x=1775651482; h=message-id:date:content-transfer-encoding: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=XpyNJnmxyBf9+FKXpjjcjQl+10rZ5FezsSR71OkhlP4=; b=PYCUO80jvabtv+NqJl1fTVD9PjKzG9YPB+HRnSoHl3uxfBcUOuXK/0XksOiWjxGeJp pSvMYNMO32LOoaZHumS68vT7An6q1/m2jZaloSmaHgPFCh0UlD8UfEnSOlJJu+LCz2Zp Em9s07IDGKEiHruhQL1nNHayZt3HvtdMf3h+fAnt9ln5Zu84jvE9S4VH0rdlu6maqmi4 uuEjUqk3dCVD2CtKw0qjNk7rX26+6/S74i1xIhGx2i/VsyBlbzgr/S+HI+m71YaN32/X eYFjrM9pukJpi0gctMXeq+hN/xnfuJa1hkWrbapBP/yAU2WJb3WHoBBu9RuKW8LJl+HR 4isA== X-Forwarded-Encrypted: i=1; AJvYcCXg6l0uWcwDoK/xyhXjFhqNLv/gpVC9V43Frtoc2rZ10XTuRf91ct0v/3PblQOWuqhghI+fO2T6TwSNyHf9@lists.postgresql.org X-Gm-Message-State: AOJu0YxQcUhMy+sJii236w8s25EocMMQAej10XThLTmr4ZzEPni+W+Lj f4Mq4lKAKKne0nLP8YvC9qhdtiTBgvKKBJggexY8ZTGyYQ4tcGxl7zt0+Gn/VQtLZH4= X-Gm-Gg: ATEYQzy/N26h8WBRKqyZTYzVjdGGrZXO38oMgOjyKyZhClOzc08WTfNWEW/h1aiNn/3 CgdCV6gXUm+4txxMkkpa5doOpN7o4l1XogqtnICLrmDwcjtQt2Zl8Kf8RpL6wg8l/wHn1Zw1Eow qwm2Lw+0YmhQTMFXSmb1rQ1pnzIwwTLicvfPqYtPWPn7LdTt/5LghmclACK0o/Pqz0N/Sj3GKIO Rej2oph+IXiY/aMtlelytZ5d8IzwoRzUM/G5dWOtfrolzSVQ5riNs2ORenAwXUQe3U+lV3m4Ox8 jy0V7jjqOjpOe8G4fHvJxcyaI9/OHIr1F7dDCvQ9Tfad2jh8Y5D4mP8hBDgdHjqwo0cY53/RxSl Vzd8ZMgSwGk7Zw373CXu2Er58YjMizn3CgxyBGBoUrQ6EloOj5dSoplJ1lAnnarYucKmyJdxSZV nT8X+1nyvTDVcpIDzVFoC79uq5OkJrB2ZhYT0f X-Received: by 2002:a05:600c:3516:b0:485:3f72:3230 with SMTP id 5b1f17b1804b1-48883597e85mr49928855e9.15.1775046682138; Wed, 01 Apr 2026 05:31:22 -0700 (PDT) Received: from localhost (109-81-168-142.rct.o2.cz. [109.81.168.142]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4887e735532sm141800025e9.0.2026.04.01.05.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2026 05:31:21 -0700 (PDT) From: Antonin Houska To: Amit Kapila cc: Alvaro Herrera , Mihail Nikalayeu , Srinath Reddy Sadipiralla , Matthias van de Meent , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] In-reply-to: References: <90700.1774627975@localhost> <202603271635.owyhm7btgoic@alvherre.pgsql> <228982.1774967782@localhost> <49194.1775036606@localhost> Comments: In-reply-to Amit Kapila message dated "Wed, 01 Apr 2026 15:52:15 +0530." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 01 Apr 2026 14:31:21 +0200 Message-ID: <193349.1775046681@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Amit Kapila wrote: > On Wed, Apr 1, 2026 at 3:13=E2=80=AFPM Antonin Houska wr= ote: > > > > Nevertheless, I'm not sure it's a good idea for snapbuild.c to handle s= pecial > > cases like REPACK. Instead, I'm thinking if snapbuild.c can safely igno= re XIDs > > of backends connected to databases other than the one we're decoding. > > >=20 > What if such transactions have made changes in the global catalog? > Even if that won't matter, I feel such a change would be quite > fundamental to snapbuild machinery and changing at this point would be > risky. I had thought that catalog is usually needed only to retrieve the tuple descriptor, but regression tests with some Assert() statements prove now th= at shared catalogs can be accessed too. So that idea does not seem to be usefu= l. --=20 Antonin Houska Web: https://www.cybertec-postgresql.com