]> granicus.if.org Git - postgresql/commit
Now that we have UPDATE tab SET col = DEFAULT, get rid of horrid hack
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Sep 2003 02:11:23 +0000 (02:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Sep 2003 02:11:23 +0000 (02:11 +0000)
commita15207f8d69cd7650e1a6fd962f7e3e8c543ce78
treec9ef8cc09638f149858f54cdff4facfc8e5b75ca
parent3900f8368d1f9eb440dff9e603cbc6049702a9b2
Now that we have UPDATE tab SET col = DEFAULT, get rid of horrid hack
in the RI triggers for ON DELETE/UPDATE SET DEFAULT.  The code depended
way too much on knowledge of plan structure, and yet still would fail
if the generated query got rewritten by rules.
src/backend/utils/adt/ri_triggers.c