Bruce Momjian wrote:
> I must be missing something but I thought the only problem with our
> existing snapshot system was that you could see a row updated after your
> snapshot was created, and that the solution to that was to abort the
> transaction that would see the new row. Can you tell me what I am
But with "snapshot isolation" (what our "serializable" corresponds to)
you cannot see rows updated after snapshot creation, right?
So phantom reads cannot occur, but we still are not truly
See the example I concocted in
PS: Different from what Kevin claimed, Oracle also cannot grant
you strictly serializable transactions, because they also use
snapshot isolation. Seems that they get away with it.
My feeling is that the cases where this would be a problem are pretty
rare; my example referenced above feels artificial for a good reason.
If we can do it better than Oracle, I'm not against it :^)
In response to
pgsql-hackers by date
|Next:||From: fangfang liu||Date: 2009-12-31 08:33:40|
|Subject: add xml support function|
|Previous:||From: Tatsuo Ishii||Date: 2009-12-31 06:56:11|
|Subject: Re: exec_execute_message crash |