Re: postgres_fdw: transaction mode inheritance corner cases - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: postgres_fdw: transaction mode inheritance corner cases
Date
Msg-id CAPmGK173Jw9SAgb8QvmKPVMF5ORqf2x8mM0iXG7wS0yHfbbqsQ@mail.gmail.com
Whole thread
In response to Re: postgres_fdw: transaction mode inheritance corner cases  (Etsuro Fujita <etsuro.fujita@gmail.com>)
List pgsql-hackers
On Fri, Oct 2, 2026 at 2:30 AM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
> On Thu, Oct 1, 2026 at 3:27 AM Matheus Alcantara
> <matheusssilv97@gmail.com> wrote:
> > 1: read-write local transactions can no longer query a hot standby
>
> Ah, I think this is too restrictive, so I changed my mind; I'd like to
> propose to keep the current behavior and instead modify the
> documentation like this:

Sorry I forgot this example:

Local READ ONLY transactions propagate their read-only mode to remote
sessions. (This is also applied to subtransactions.) Note that this
does not prevent login triggers executed on remote servers from
writing.
Also, local DEFERRABLE transactions propagate their deferrable mode to
remote sessions. (This is only applied to remote servers 9.1 and
newer.)

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: postgres_fdw: transaction mode inheritance corner cases
Next
From: Tom Lane
Date:
Subject: Re: COMMENTS are not being copied in CREATE TABLE LIKE