Adjust CREATE TRIGGER and ALTER TABLE ... ADD FOREIGN KEY to acquire

Neil Conway <neilc@samurai.com>

Commit: f30c76ce8de6a3d9e79367112a9287b576c9e9cd
Author: Neil Conway <neilc@samurai.com>
Date: 2005-03-23T07:44:57Z
Releases: 8.1.0
Adjust CREATE TRIGGER and ALTER TABLE ... ADD FOREIGN KEY to acquire
ExclusiveLock rather than AccessExclusiveLock. This will allow concurrent
SELECT queries to proceed on the table. Per discussion with Andrew at
SuperNews.

Files

PathChange+/−
doc/src/sgml/mvcc.sgml modified +5 −4
src/backend/commands/tablecmds.c modified +7 −7
src/backend/commands/trigger.c modified +9 −2