summaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-04-10 13:12:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-04-10 13:12:58 -0400
commit2cab4ad81bcb44ccd6591ed1fb54495c7301b42d (patch)
treeb10f26b99b9ceb91ad08dcd003f0457ae78c8784 /src/backend/executor
parent7b99e46742fc93e0cd8d48b0eec55eca1a7b2790 (diff)
Doc: clarify locking requirements for ALTER TABLE ADD FOREIGN KEY.
The docs explained that a SHARE ROW EXCLUSIVE lock is needed on the referenced table, but failed to say the same about the table being altered. Since the page says that ACCESS EXCLUSIVE lock is taken unless otherwise stated, this left readers with the wrong conclusion. Discussion: https://postgr.es/m/834603375.3470346.1586482852542@mail.yahoo.com
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions