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 1vxwDG-00HGxe-1f for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 00:05:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vxwDD-00F1vn-2d for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 00:05:08 +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 1vxwDD-00F1vf-1k for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2026 00:05:08 +0000 Received: from mail-dy1-x1336.google.com ([2607:f8b0:4864:20::1336]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vxwDB-00000000hMY-3K5z for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2026 00:05:07 +0000 Received: by mail-dy1-x1336.google.com with SMTP id 5a478bee46e88-2be27fa54feso3190987eec.0 for ; Wed, 04 Mar 2026 16:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772669104; cv=none; d=google.com; s=arc-20240605; b=CS4dKN1BVJYLaSMpDcUmY4bpPna7WGMeIRlmB/7LspHn0I4fj/FM5PSIb+Rp0wPMPO z+ZTwmZX9IIJfI6V6srW/vCDD3wMppHcSXCcw91hE27mOlt4DpX8a78PiioitaffwGaW 7yNL1kPgLko+/6WPyQjOocgT/dFL4xENKApX4ihHl2ZoxVaNAF5Od7Uh1aaWWwH7sLny rDbF9qxe2HEAY+X8arGD1WSP82R9gfUVX/BOEPhaoaMvxsGYBnxHJ685SCyyXlXPY30n X8rMw+7qh9cR2cGENcxR80LjTcCcehU46f2JA0wo8f8W3EmnKqLThFqKICygj7+hJ5+5 RrpQ== 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=HxwDhJZm4fdE5zi+VXy1nHRJ3xMueK99Cfe2MkqqI6M=; fh=SLc6RRc4R8bFLWBRW5Eyc3cWpP6Ofb5liogUilm4RXA=; b=jQLH18cJOMbflCxGDO1apBzWxg8OKjXcf1AJG2CO2PKBy/hWVIZUE9FdXB3+u6andJ HbrKOJQ9RNLHhwUFKtQG2nhqs3VgVnpfLkCeXXdjctNCa0NLveFNeQUFbW9qYXB9nf3u cWwbEmHC2cnmbONDOLhqpBG/9Zr9TkA//w/SDOBmeIeQ+tu7ASaVEsHWBcnQhWPvLLCh dKzce/Oir9/0vjOA51zt5kXbxNdvFUSUkCc/J5nmQUqG8v6V7gCdAqIjVb59s+3r8U0H 46HsO5xfhkUviUukkJ7zwcJD/Bm1YkNl5yY7C69N7eg0puWTXtkH1eWbLHbfrJGJ+FOV GvIg==; 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=20230601; t=1772669104; x=1773273904; 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=HxwDhJZm4fdE5zi+VXy1nHRJ3xMueK99Cfe2MkqqI6M=; b=R3Uc1F/PVUYbVpO/1oJ7ugJtFHA3ijiOXu+DpFdKg+nOPuXsMPlilQGsxBhEUGiojO tTUU5YZVhvDqPCkimBnaWVavFocElvrLpuNwZrgLFDPH6EJVIEUTyQBvuQ5HBXl3jVZd SlnNVmiJtan8ND/IAnpCAFzrYYUa+CiURikweZ+eOQRsZnH6+8Xnijqpjp6BiZNJZc8f xJ7EWnvvjqrumgwEbDVb+zkI0fAy5B8zUCTVgCAbgPpkCsQxryWIvNacnkjaCnDzLnP9 CewPk/6k+GopmR2SYpQxHuKEGksZjb5hSF86tdTEidbnqC/tDvQBZvUe9cvfr2d6edyp CpcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772669104; x=1773273904; 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=HxwDhJZm4fdE5zi+VXy1nHRJ3xMueK99Cfe2MkqqI6M=; b=VxiuWUkl20yVWVY4JYiLOr2t/mlT4As5ktvH37CXsbMjXxRO8L5y2QJt1TCq6rcYDk /5UglNC9EpYlAnPyABhJQPLWQ29Sv2SomJrBOtk6eijbYpn3QAPzPU2lbkjKpKS/aUz5 S0G/uKtelLR1Wrr3P9IbqcNEzABNqKBYLqM3xA3in23+8c4KuEcXDzptvwuJf3E3/lgl TZ5O0y4fDCR/tvr+zN49M/rdYxQwwCxAxxYUwfWVT1A3pAOt9AHiHABG3pyougct66Qo RXBUOW/NayustNhhGVqozZ08cEZwvjt//TuwgNaqBlioHzBr2G49EkjDUGSnfrA8fnSB 2eMw== X-Forwarded-Encrypted: i=1; AJvYcCUZ3iMjYvqnxSgbpb+fN5J74BbrRj5xUECJ5D0HeVwhas+OuSl7UZOVbPy0JQL3DmOWp3pc20UAYRT3+Ud+@lists.postgresql.org X-Gm-Message-State: AOJu0Yxbjalmxwj+SkmZUhKwVmMItUSlC/MrYXuVqtkznyrkmqEtmofr M0p2pzDBMual1Lux5Nu27vK1JWvwReBLJXbTh4M+RiYpuC88JkNRq+wm/1/9MvzNuWlKtCx4Ta+ ulXXGoBQAlUWETPb+TihnvImzFP0+zyk= X-Gm-Gg: ATEYQzzKb0PvBthxLQPlS+TRKODNtOr1cT8NLYmof7mEMEcWYcYTKq0eApJmiRWJknN svtKE2KCr3uBPtidlJ1weUMeZ9VDcEV5ZpwbQyBwT7LaKOuMNjGnFegpiaQOVc0dslqwgPnHtJB zTJdAEJ8VnsfflMcq2Z+/LPpKJFlkz4QkZTTXEy3O1EdSU6p5/p9TAM2FkFP8JQ48b9jBTwLp70 OY+RRpgu/XjSdpUpor+2pGKS2Ju8lrkiqvNr6MYKMQAfdV4R3prq3i/arsF6SNbdVsG13dw0b9v l5j2i1lxIg1VKfGRlslYcml9fgAj1IdZoiKXP6h5vJ8/D2KHhNCizdya1VMzki7XgooxYbHdjKx B5g4F0xMk+kUVs548YImpvsFqHQtqurUxrEiisXZjZ9Z2/fRbWcg= X-Received: by 2002:a05:7300:2213:b0:2ba:8018:cc62 with SMTP id 5a478bee46e88-2be311f78b9mr1580157eec.38.1772669103571; Wed, 04 Mar 2026 16:05:03 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Etsuro Fujita Date: Thu, 5 Mar 2026 09:04:51 +0900 X-Gm-Features: AaiRm5093Cmx34bJIEy5L2eSOtr_heGw2cOHPXGKwCoCMAuQUbWTav2QHs5vcmo Message-ID: Subject: Re: pgsql: postgres_fdw: Inherit the local transaction's access/deferrable To: Michael Paquier Cc: Fujii Masao , Etsuro Fujita , pgsql-hackers@lists.postgresql.org 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 Mon, Feb 16, 2026 at 10:15=E2=80=AFAM Michael Paquier wrote: > 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. > > > > 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 Will do. Best regards, Etsuro Fujita