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 1vrnCp-006KYb-2v for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Feb 2026 01:15:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vrnCo-0035bb-2U for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Feb 2026 01:15:18 +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 1vrnCo-0035bT-1W for pgsql-hackers@lists.postgresql.org; Mon, 16 Feb 2026 01:15:18 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vrnCm-00000000uEC-1gFN for pgsql-hackers@lists.postgresql.org; Mon, 16 Feb 2026 01:15:18 +0000 Received: from phl-compute-07.internal (phl-compute-07.internal [10.202.2.47]) by mailfhigh.stl.internal (Postfix) with ESMTP id 150F97A0096; Sun, 15 Feb 2026 20:15:14 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-07.internal (MEProxy); Sun, 15 Feb 2026 20:15:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1771204513; x=1771290913; bh=QVZpiD1PFQ brl+OoHFxwTjIUHh6uDov0ZP5FQ5TBoiI=; b=AKT3qXaKp4ueKPLDidVpaF7NOK kQ8/vRI7YJ94uGWe7Mo0VhpCqj03kSIUUSkIEjOClXNIbmviWKv6QOBEOe7bkyge FYydb+OAYKFkIt8/RwfwsMMnSu+eplBUFl3TMgwrLuxc3fMmuxCgVnaUm+/P/6VB qb21GsBDFojmaBjMEM9SI+JP9mt8dhp/GxTzHqx26Tf4YKVmvMktaXS4ntFZWZhE sstZAUAp3Xs+/ShAQdhiw/6dm9O7Xf3mYdACGdU32nKbBTI+9NprnRpFZ0hWfyyI EChVm4hvv3lhJVTq8C6Ga2sOaJanwRgrUQ0B0DaW3MmuS0OYetO4PNgL/tVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1771204513; x=1771290913; bh=QVZpiD1PFQbrl+OoHFxwTjIUHh6uDov0ZP5 FQ5TBoiI=; b=pFvOlZhbLw6vFRxuv4rRFNHDqvu4L1vjdMyyj+hQVnIKTQC09WV FBBXalNCTG+058HeTD+7BBxPr5y69FPXt8Rm1mEB3qdZDityvDHTmojgnpQ1LvvO qJoMHkiBVXnhZFoqeWryQfTFZarO8GXCpXXuNNI8luHQqvDMCbVgu3uHL7Zy7Rpe TIng6b4PDcVzPIrvEyPJDZal90jze4PYFhSyrGKQnKCcCFKHUxaRu2QJ3xvoyvTk 3AHtnH0vkIsCXB5VP7I3ZIipy03VH4whvxF6Gu9zLn85KLK1uJZ38stH20WuoPyX JSFYPeeMy8TKufHyv40rZzNhm6GXWt64R3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvudehhedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghtsh hurhhordhfuhhjihhtrgesghhmrghilhdrtghomhdprhgtphhtthhopehmrghsrghordhf uhhjihhisehoshhsrdhnthhtuggrthgrrdgtohhmpdhrtghpthhtohepvghfuhhjihhtrg esphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghr sheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 Feb 2026 20:15:11 -0500 (EST) Date: Mon, 16 Feb 2026 10:15:08 +0900 From: Michael Paquier To: Etsuro Fujita Cc: Fujii Masao , Etsuro Fujita , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: postgres_fdw: Inherit the local transaction's access/deferrable Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i2t/7w9cUAEqUgQe" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --i2t/7w9cUAEqUgQe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 15, 2026 at 05:40:13PM +0900, Etsuro Fujita wrote: > This patch 1) modifies postgres_fdw so that it opens remote > transactions in read-only mode if the corresponding local transaction > is read-only, as noted in the documentation, but 2) keeps the existing > behavior of login triggers that they can write even if the invoking > transaction is read-only. So declaring a transaction as read-only on > the local side doesn't mean it blocks all write operations on the > remote side; it still allows login triggers invoked on the remote side > to write. Considering typical use-cases of such triggers, this seems > reasonable to me. I think it might be a good idea to add a note about > it to the documentation, though. >=20 > I'd like to re-propose this patch for v19, as mentioned in this thread. Considering again that for v19 sounds like a sensible thing to do. Before feature freeze, not after. :D -- Michael --i2t/7w9cUAEqUgQe Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmSb5wACgkQnvQgOdby QH3ovg/+IE1vd71KsyIuQCKRSCZhgeu929y4adjVfWz+xtufuaHcLTAUN9ddHZWn m4ZAkqBchA9TreDwnZQKtsFC8krzG3R9KpKhT9rkTWRHKvcYh1ZPBnfIU+ZtmpFa tnqo2k4yVTIDUZelF6ja3Xjk8xSj0oyMMlzQu3e7dhKr6OoDs7L+f738LN8gpJNS aZSokKkrbWibv9764J/rFq421byyFPoTVWXlyv3F5m828LqnltcyVUkBAHrAXpJU pgGtYSwYFLl2i6PkiBPL5xfytSREuYNuX3ZVhXwnzb2FPXTcoSo+yBZWtdAy7ffM HDY12TA1S4kC0TsIK3jicaLWT9W0+kByg3S5/4PYnD8YABA3EtdQKbLE7XC7meBe pd6WHK7zkG94ZGqjwWbp05/wIMQtWkBF/sAD9B4SobuXGaGtD1MRvsqwbqYKTU9F 78olVtgMyo7gDEy6dz7t1AfQ8C9L/Q4JC/36ccn50KWksMFZXISOGggcr1DMC46Z PhQ7AkCPczYTIlTsvCHWxMaglVDiF4zawoneUjyXAkkPEYA/uMfs/5u+OoFe+60U NwU4Ucn1b5dUn0nfsBUpL6O9TX/0Bho6CnDF8hBWUDaOnA9AUKlWPwrIGhaeXH6e z9Ueiq3agoOfAvx/OCFIQ9LCHpVymutQ0DB/ULHaLPqyMkJpfA0= =arB5 -----END PGP SIGNATURE----- --i2t/7w9cUAEqUgQe--