Re: MVCC handling of updates

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Crenshaw" <kcrenshaw(at)viscient(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: MVCC handling of updates
Date: 2005-09-08 00:41:29
Message-ID: 1675.1126140089@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Kevin Crenshaw" <kcrenshaw(at)viscient(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Glaesemann 2005-09-08 01:13:34 Re: Weird SQL Problem
Previous Message Josh Berkus 2005-09-08 00:22:01 Re: Weird SQL Problem