Message-ID: From: "CTH57 (@CTH57)" To: "pgjdbc/pgjdbc" Date: Tue, 06 Jan 2026 07:19:20 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3897: fix: issue #3892, PGXAConnection.prepare(Xid) should return XA_RDONLY if the connection is read only In-Reply-To: References: List-Id: X-GitHub-Author-Login: CTH57 X-GitHub-Comment-Id: 3713462174 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3897 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3897#issuecomment-3713462174 Content-Type: text/plain; charset=utf-8 If during a transaction, a read only connextion is used to select data and another connection is used to insert data, boths connections are enlist in the XATransaction.