Message-ID: From: "sehrope (@sehrope)" To: "pgjdbc/pgjdbc" Date: Wed, 19 Mar 2025 12:13:05 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #943: fix: synchronize modification of shared calendar (#921) In-Reply-To: References: List-Id: X-GitHub-Author-Login: sehrope X-GitHub-Comment-Id: 2736417084 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 943 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/943#issuecomment-2736417084 Content-Type: text/plain; charset=utf-8 This driver is not thread safe outside of a very narrow set of explicitly listed methods, most notably `.cancel()`. We have that listed in our docs: https://jdbc.postgresql.org/documentation/thread/ Outside those narrow exceptions, sharing any driver objects (Connections, Statements, ResultsSets, etc) is not supported without external synchronization.