Re: pgsql: Fix race condition in snapshot caching when 2PC is used. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix race condition in snapshot caching when 2PC is used.
Date
Msg-id 1355915.1597794204@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Fix race condition in snapshot caching when 2PC is used.  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: Fix race condition in snapshot caching when 2PC is used.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> Fix race condition in snapshot caching when 2PC is used.

Uh, is it really okay to modify that variable with only shared
ProcArrayLock?

            regards, tom lane



pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix race condition in snapshot caching when 2PC is used.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Fix race condition in snapshot caching when 2PC is used.