Re: Reducing lock strength of adding foreign keys

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reducing lock strength of adding foreign keys
Date: 2014-10-22 14:13:58
Message-ID: 9579.1413987238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Karlsson <andreas(at)proxel(dot)se> writes:
> I have attached a proof of concept
> patch which reduces the lock strength to ShareLock.

You're kidding, right? ShareLock isn't even self-exclusive.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-10-22 14:34:22 Re: Wait free LW_SHARED acquisition - v0.2
Previous Message Pavel Stehule 2014-10-22 13:51:33 Re: Function array_agg(array)