diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-07-19 08:37:32 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-11-10 16:14:51 +0100 |
commit | 69ee2ff9308bbfe0e0a89667555e901fec5e154b (patch) | |
tree | 4e6825615d84c5a1a3e46eec38c6ea098e15a203 /src/backend/executor/nodeProjectSet.c | |
parent | 34479d9a36a280afe1387146871d4c1528cf2cbf (diff) | |
download | postgresql-69ee2ff9308bbfe0e0a89667555e901fec5e154b.tar.gz postgresql-69ee2ff9308bbfe0e0a89667555e901fec5e154b.zip |
Apply RI trigger skipping tests also for DELETE
The tests added in cfa0f4255bb0f5550d37a01c4d8fe2966d20040c to skip
firing an RI trigger if any old key value is NULL can also be applied
for DELETE. This should give a performance gain in those cases, and it
also saves a lot of duplicate code in the actual RI triggers. (That
code was already dead code for the UPDATE cases.)
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions