"Kevin Crenshaw" <kcrenshaw@viscient.com> writes:
> How does MVCC function when two people try to update the same row at the
> same time?
Whoever gets there first will obtain a row lock on the target row,
and the later arrival(s) will block until the first one commits or
aborts.
regards, tom lane