Re: BUG #9301: INSERT WHERE NOT EXISTS on table with UNIQUE constraint in concurrent SERIALIZABLE transactions - Mailing list pgsql-bugs

mscott@apple.com writes:
> -- The following seems to violate the fundamental guarantee of ISOLATION
> LEVEL SERIALIZABLE in that the two
> -- transactions below do not behave the same as if they were run serially.

I must be missing something ... what about the duplicate-key error is not
what you would expect if the two transactions had been run serially?

BTW, the fundamental guarantee is not what you said above.  It is that
you will *either* get the same results as if the transactions had been
run in some unspecified serial order, *or* you will get a serialization
error.  There is certainly no guarantee about which of these cases
ensues.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: Is there a Support Platforms document more current that this?
Next
From: John R Pierce
Date:
Subject: Re: Is there a Support Platforms document more current that this?