aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHashjoin.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
commitaa4416dcd924a49e766baae9c73e884249d687d0 (patch)
tree8a756cee099be55d1f3818e1c8aa11958541f257 /src/backend/executor/nodeHashjoin.c
parentb75aa49bb8cbc96fc741791bc021a83a697a1307 (diff)
downloadpostgresql-aa4416dcd924a49e766baae9c73e884249d687d0.tar.gz
postgresql-aa4416dcd924a49e766baae9c73e884249d687d0.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/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions