On Mon, Mar 29, 2021 at 6:01 AM Amit Kapila <[email protected]> wrote: > A naive question about this scheme: What if the worker that acquires > the XID writes some row and another worker reads that row before it > gets to see the XID information? I think it won't treat such a row is > written by its own transaction. Won't such a scheme lead to different > behavior than serial inserts or where we have acquired XID before > starting parallel-operation?
Well, this is the sort of thing that somebody would need to analyze as part of implementing something like this, but off hand I don't quite see what the problem is. -- Robert Haas EDB: http://www.enterprisedb.com
