|
Richard Huxton wrote: I'm ok about this, but, if I try exactly the same scenario, where I replace the INSERT by a DELETE, the first SELECT of the client 2 won't return any row. This is the same behaviour with an UPDATE. If client 1 updates the row and commits, the first SELECT of client 2 will return the updated row. Why isn't it the same behaviour with INSERT ?On Wednesday 10 September 2003 08:34, Stéphane Cazeaux wrote: See Ch 9.2.1 (in Concurrency Control) for details: "Since in Read Committed mode each new query starts with a new snapshot that includes all transactions committed up to that instant, subsequent queries in the same transaction will see the effects of the committed concurrent transaction in any case." You'll be wanting "SERIALIZABLE" transaction isolation if you don't want this to happen. |
- Re: [GENERAL] Question about conccurrency control and Ins... St�phane Cazeaux
- Re: [GENERAL] Question about conccurrency control an... Tom Lane
- Re: [GENERAL] Question about conccurrency control an... Richard Huxton
- Re: [GENERAL] Question about conccurrency contro... St�phane Cazeaux
