aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.c
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
commitf333d35428c1cba8d35065b6dbb2dd46e18bd929 (patch)
treeae2d1bb07c1a9637e800e78551df43c65debdb0a /src/backend/executor/nodeHash.c
parent401418ca6a689f772cbfa1aedc7485cbbcde7a94 (diff)
downloadpostgresql-f333d35428c1cba8d35065b6dbb2dd46e18bd929.tar.gz
postgresql-f333d35428c1cba8d35065b6dbb2dd46e18bd929.zip
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/nodeHash.c')
0 files changed, 0 insertions, 0 deletions