On 10/22/2014 04:13 PM, Tom Lane wrote:
Andreas Karlsson <andr...@proxel.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.

Why would it have to be self-exclusive? As far as I know we only need to ensure that nobody changes the rows while we add the trigger. Adding multiple triggers concurrently should not pose a problem unless I am missing something (which I probably am).

Andreas




--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to