aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-02-18 23:00:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-02-18 23:00:38 +0000
commit5f4170c6f734758d009c39e83cf1cc74f86918e4 (patch)
tree5bf1b90eb66f7de034de2df4ca44b0e742788fb0 /src/tutorial/basics.source
parent7d7b60bf8668e02bcbc443e238c8afb187abc249 (diff)
downloadpostgresql-5f4170c6f734758d009c39e83cf1cc74f86918e4.tar.gz
postgresql-5f4170c6f734758d009c39e83cf1cc74f86918e4.zip
Remove unnecessary opening of other relation in RI_FKey_keyequal_upd_pk
and RI_FKey_keyequal_upd_fk, as well as no-longer-needed calls of ri_BuildQueryKeyFull. Aside from saving a few cycles, this avoids needless deadlock risks when an update is not changing the columns that participate in an RI constraint. Per a gripe from Alexey Nalbat. Back-patch to 8.3. Earlier releases did have a need to open the other relation due to the way in which they retrieved information about the RI constraint, so this problem unfortunately can't easily be improved pre-8.3. Tom Lane and Stephan Szabo
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions