You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Doc: clarify locking requirements for ALTER TABLE ADD FOREIGN KEY.
The docs explained that a SHARE ROW EXCLUSIVE lock is needed on thereferenced table, but failed to say the same about the table beingaltered. Since the page says that ACCESS EXCLUSIVE lock is takenunless otherwise stated, this left readers with the wrong conclusion.Discussion:https://postgr.es/m/834603375.3470346.1586482852542@mail.yahoo.com