"=?utf-8?B?55uP5LiA?=" writes:
> The code in GetSnapshotData() that read the `xid` field of PGXACT
> struct has a dependency on code in GetNewTransactionId() that write
> `MyPgXact->xid`. It means that the store of xid should happen before the
> load of it. In C11, we can use [Release-Acquire
The code in GetSnapshotData() that read the `xid` field of PGXACT struct
has a dependency on code in GetNewTransactionId() that write
`MyPgXact->xid`. It means that the store of xid should happen before the
load of it. In C11, we can use [Release-Acquire
ordering](https://en.cppreference.com/w