Re: foreign key locks, 2nd attempt

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: foreign key locks, 2nd attempt
Date: 2011-11-11 22:02:00
Message-ID: 4EBD9B58.5060108@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>> An UPDATE that modifies the key columns will be blocked, just as now.
>> Same with a DELETE.
>
> OK, so it prevents non-key data modifications from spilling to the
> referred rows --- nice.

Yes. Eliminates the leading cause of deadlocks in Postgres applications.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-11-11 22:04:59 Re: why do we need two snapshots per query?
Previous Message Simon Riggs 2011-11-11 21:53:12 Re: why do we need two snapshots per query?