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 1wA5d0-0023MH-0B for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Apr 2026 12:33:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wA5cy-00HBJ7-1q for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Apr 2026 12:33:56 +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 1wA5cy-00HBIy-0j for pgsql-hackers@lists.postgresql.org; Tue, 07 Apr 2026 12:33:56 +0000 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wA5cw-000000011wm-2pl6 for pgsql-hackers@lists.postgresql.org; Tue, 07 Apr 2026 12:33:55 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 88C2514001D5; Tue, 7 Apr 2026 08:33:53 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 07 Apr 2026 08:33:53 -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=fm2; t=1775565233; x=1775651633; bh=U jRaD8aU3nuxUUpKd4rGRWyWwBNY71HRxju7Gbj/lmQ=; b=L0ugVzXMyOzMvtvb2 KDDnFUtAcjR1xQp8Uw0da3MhZHcMqSAejP6ogQKSnRo/awie30qDepkWW6WWAEnI hu7YSlRDG5gYNquRR9KfoDs+hUcQRTqb/+/IR2Cex1+5JhsuTHlbQ+T2mDfILYXY PDBevVmwjkKRt+u1pjnuatc7g10Qf1Z1+foMNJ6aXWgfOwRuJ8VUPM5o1DPXNjwi 7dqtNh+khoCIFsPV42DHG/eMl0jnIr9UqDplQAOpUtN6uiClxYE7WS29fZhDndAD eebfcjg10BDBX/MmlOPM7wqSOVA2XohG0opJZyDFb1DkNheFVhRU3wjg7cMv142b f4WEA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvtdeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqeenuc ggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeffgfdu fffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghr rhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdpnhgspghrtghpthhtohepjedpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtoheprghhsegthigsvghrthgvtgdrrghtpdhrtghpthht oheprghmihhtrdhkrghpihhlrgduieesghhmrghilhdrtghomhdprhgtphhtthhopegsoh gvkhgvfihurhhmodhpohhsthhgrhgvshesghhmrghilhdrtghomhdprhgtphhtthhopehm ihhhrghilhhnihhkrghlrgihvghusehgmhgrihhlrdgtohhmpdhrtghpthhtohepshhrih hnrghthhdvudeffeesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggt khgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehroh gsseigiihilhhlrgdrnhgvth X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Apr 2026 08:33:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1775565230; bh=j2ggKRtfthSR1nneFWgedl+PNr+n4nnzgGY3poVcklM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=IZeLH4zgU0zKHOm9B8mQD2617uX9S/BDfYh1N6dz5rctuRwVLNcdKok/AYsjWMtbw HV9Ms07MNR/yECtLCvdgIgVhnXUszHkYTqkIJ+r4PQlGdveLolpUvcLRGaI8Fty6pC tus4Gnk9LGc6UmkhPy1uLxErw86gta0KEf4KMkd10sUyF7MGFPwdG1IhfwAeCjBoKM QayolV4rL+9HYRjhzBkdvWKsbkZLUDGYmNUUGCRspvS+PKMFrly8NdSp7i93hnRLom 8JQDLGcf0LjdTUgZT8ZSisYpaaVXRRu1iJWLPEMCescnVXx5wBKhcLu6bBYUYGGLdj rvxeYussLxwhQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 9C9747C; Tue, 07 Apr 2026 14:33:50 +0200 (CEST) Date: Tue, 7 Apr 2026 14:33:50 +0200 From: Alvaro Herrera To: Amit Kapila Cc: Mihail Nikalayeu , Antonin Houska , Srinath Reddy Sadipiralla , Matthias van de Meent , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] Message-ID: <202604071230.b5axxf3qna3m@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-Apr-07, Amit Kapila wrote: > I have a question based on 0001's commit message: "This patch adds a > new option to logical replication output plugin, to declare that it > does not use shared catalogs (i.e. catalogs that can be changed by > transactions running in other databases in the cluster).". In which > cases, currently plugin needs to access multi-database transactions or > transactions that need to access shared catalogs and on what basis a > plugin can decide that the changes it requires won't need any such > access. I don't think any plugin needs "multi-database" access as such, but needing access to shared catalogs is likely normal. Repack knows it won't access any shared catalogs, so it can set the flag at ease. There's a cross-check added in the commit that tests for access to shared catalogs if the flag is set to false. I guess you could set it to false and see what breaks :-) -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/