Re: pgsql: postgres_fdw: Inherit the local transaction's access/deferrable

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: Etsuro Fujita <efujita(at)postgresql(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: postgres_fdw: Inherit the local transaction's access/deferrable
Date: 2025-06-02 03:33:23
Message-ID: aD0bg6Km5IigzUkC@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Jun 02, 2025 at 12:03:50PM +0900, Fujii Masao wrote:
> I'm not sure this change should be considered a bug fix,
> since the current behavior of postgres_fdw with a local read-only
> transaction isn't clearly documented. Some users might see this
> as a behavioral change rather than a fix. Anyway if we go with it,
> shouldn't we document the change in the v18 release notes?

After going through the thread and the commit, I have to admit that I
was surprised to see this applied on HEAD now that we are in feature
freeze. This is a behavior change. Perhaps this could be done once
v19 happens, still it's rather unclear if the new behavior is better
than the previous one.
--
Michael

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-06-02 06:46:42 pgsql: Rename gist stratnum support function
Previous Message Michael Paquier 2025-06-02 03:04:32 pgsql: Use replay LSN as target for cascading logical WAL senders

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-06-02 03:44:12 C11 / VS 2019
Previous Message Amul Sul 2025-06-02 03:26:27 Re: Foreign key validation failure in 18beta1