From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #10847: Connection.setSavepoint()/releaseSavepoint() is not thread-safe
Date: Thu, 03 Jul 2014 14:31:21 -0700
Message-ID: <53B5CBA9.70104@hogranch.com> (raw)
In-Reply-To: <CAM-w4HMPA9JVNzuMQuVMoN3yK7cEd8jGpkAOMXmD5DcusjBAcg@mail.gmail.com>
References: <20140703075343.5122.97077@wrigleys.postgresql.org>
<CAM-w4HMPA9JVNzuMQuVMoN3yK7cEd8jGpkAOMXmD5DcusjBAcg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 7/3/2014 11:54 AM, Greg Stark wrote:
> I think you need to report this to the JDBC mailing list at
> pgsql-jdbc@postgresql.org
>
> http://www.postgresql.org/list/pgsql-jdbc/
>
> The Postgres libpq interface is most definitely not threadsafe but I
> don't see any indication in that stack trace that it's using libpq. It
> seems to be pure Java there.
yes, the jdbc driver is pure java. you still should avoid using a jdbc
sql connection from more than one thread on the same transaction. its
fine to reuse a connection between transactions as long as only one
thread is using it at a time.
--
john r pierce 37N 122W
somewhere on the middle of the left coast
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: BUG #10847: Connection.setSavepoint()/releaseSavepoint() is not thread-safe
In-Reply-To: <53B5CBA9.70104@hogranch.com>
References: <20140703075343.5122.97077@wrigleys.postgresql.org> <CAM-w4HMPA9JVNzuMQuVMoN3yK7cEd8jGpkAOMXmD5DcusjBAcg@mail.gmail.com> <53B5CBA9.70104@hogranch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox