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.94.2) (envelope-from ) id 1uMt1R-006IlX-Oe for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jun 2025 18:39:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uMt1P-00FTjU-RU for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jun 2025 18:39:32 +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.94.2) (envelope-from ) id 1uMt1P-00FTjM-I2 for pgsql-hackers@lists.postgresql.org; Wed, 04 Jun 2025 18:39:32 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uMt1O-000Dim-09 for pgsql-hackers@lists.postgresql.org; Wed, 04 Jun 2025 18:39:31 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-ad56cbc7b07so23298266b.0 for ; Wed, 04 Jun 2025 11:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749062368; x=1749667168; 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=jl4U/UAbBTz5xM4ypJ824I5NsyvJlFCwb5stPzjdkCs=; b=bYuX7yDCzWxYe7kEiVS/R52RJ+6sJkcAWF1y55T8uLneCYHdLj6mfrZHawXrhinUHQ vYicpOvxk9p3412qlhxLMNYS3+sFb5fsAbJnraG7BlVC+6huR+c2/R98Wd5PreR+vafW NDPEuckTTbiNmYOidtJ66+eg7FAD4VnVvM8ndgNljFQctMsI8xuectAD3Kwn0XWcGCDK bg8j7hSW9HgnmqcG+xYCsAMM1DCvQ71cuaT24NdK8MovpBEHskiWvofIwRjm4WnohaR9 wFqnycRDY4lI+d/7G5Kaa6Iqu03SGSxgXdbxog919Ih/WrxqKIc1Q0Sv3LYgl5h7w5/v KS8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749062368; x=1749667168; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jl4U/UAbBTz5xM4ypJ824I5NsyvJlFCwb5stPzjdkCs=; b=a9teMp76LWI9l47I+CWOUdPLb+cmZjhJnpmfWnCfrsuU9XoYotgTP5iLFIX3umtWtE qkfRm5+rSX+5R+1c6N/v/khXZPzFwfE1S716AhziZNPVGZiyDA6kCsxYNM1IG5l8PuBp r+CSwAunvjtKJtIc513Nk7MIJsRxjfX8bEbDOQWx8cDm4DbXAYttt0/l1pcF65hIS2aF sochC1k5Mtn3wQDPQUr21+IrR0owHcc1WxWtpFb7+50Apqq1y4RoZ+c9uRaON1y8mfF7 Gj4oWPo1d0rOyHIiAF2NY15jO4hVdmaowRAdU6RE7qhAYGEIJejv4hFcv8fZ/OVgZCaT hrMA== X-Forwarded-Encrypted: i=1; AJvYcCWfC8PVOHBy+fVmDU+sn4M9q0cJQ2ekb7WPS+Za3Mj14cL8/HQa1AhBW1xbPvL34cPGDGyQ9Wx3tjGDAB68@lists.postgresql.org X-Gm-Message-State: AOJu0YzXFjLsBYDBTabtqQ9dem5tKztrh4Vd6goA4Call+cn8ejF4KPi viBjYrlj8CA7wp9xZ51KcJgGfOBCq9RTSfMHS8vGwU7QlVOrjhKF1JWcu4+xG77JIleRGvXelwa kSgABB2XKgXWF5ARi6PYyAIJ046jM+GQ= X-Gm-Gg: ASbGnct+xwayKelZ/uJDRzIrHkpRhn62BoATt0hoHw8M0zGBg0RnIm7oKBEhLjKFTyQ 3PWYKg4Vkyd0kmXSvwP1eDJ0ufbEeTQVQ1WixeA9w1pAE9S4DIN2KQEqyc3v46fn2x8zjWTsKvm 8OBLXKK3EMP2Wyl/9vAkm95rDnQtKI7V8H X-Google-Smtp-Source: AGHT+IEZoiAhDgN/sXK3IzJ1UULlOX2zCExUrI04OafConsqntTVoVg+BDUrtXkmg8MYv1uSp+YlEUYR9oRTB+w9vGE= X-Received: by 2002:a17:906:dc93:b0:ad8:959c:c55d with SMTP id a640c23a62f3a-addf8c9b2a5mr366950566b.2.1749062368175; Wed, 04 Jun 2025 11:39:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Robert Haas Date: Wed, 4 Jun 2025 14:39:17 -0400 X-Gm-Features: AX0GCFvWMiy5EPY_bVHlTNH2foQx2CKAeTJybbWO0i2V9211B70dsZoUtWTQx-c Message-ID: Subject: Re: pgsql: postgres_fdw: Inherit the local transaction's access/deferrable To: Etsuro Fujita Cc: Michael Paquier , 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 Tue, Jun 3, 2025 at 6:45=E2=80=AFAM Etsuro Fujita wrote: > No, this is a fix, not a feature, as discussed in the thread; as > mentioned in the commit message, the previous version of postgres_fdw > could cause surprising behaviors that would never happen in normal > cases where a read-only and/or deferrable transaction only > accesses/modifies data on the local server, so this commit fixes those > behaviors. But yes, it makes a behavior change, so I think it=E2=80=99s = a > good idea to add a note about that to the v18 release notes, as > proposed by Fujii-san. Sometimes, people can have different opinions about whether something is a bug fix or a behavior change. So far, I don't think you've convinced a single person either on the original thread or on this one that this is a bug fix, so I believe that, at present, the consensus is that this is a new feature. Although you may not agree with that consensus, and you may even be right, we all have to do what most people agree is right rather than what we ourselves prefer. For what it's worth, I agree with others that this is not just a bug fix: it's a behavior change that should be subject to the feature freeze. I personally think that it's probably a desirable behavior change, and that it's small enough that we could consider leaving it in v18 if that meets with general approval. We have had cases like this, where something feels too disruptive to back-patch, but is still on some level a fix or correction of behavior, in the past, and we have sometimes decided to handle those by allowing them to be added to the major release after the feature freeze deadline, but not back-patching them. So in my mind that is a possibility here. However, that would require a pretty unanimous agreement that this change is an improvement, and it appears to me that we don't have that. I read Fujii Masao's comments to indicate that he doesn't necessarily agree with the change and wants it reverted, and I read Michael Paquier's comments the same way. Unless I'm misunderstanding their position, this needs to be reverted. --=20 Robert Haas EDB: http://www.enterprisedb.com