]> granicus.if.org Git - postgresql/commit
Don't try to rewrite NEW references in a utility statement in a rule.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Aug 2004 17:40:49 +0000 (17:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Aug 2004 17:40:49 +0000 (17:40 +0000)
commitb2b5656362098a262dbfea7d6cbf3d5a3a083614
tree32b7ce0b4bf2ed6f41fa4c78ba466e8bead473c7
parent752089ea41a3cf73573cc45f544c409b3c4a3e1a
Don't try to rewrite NEW references in a utility statement in a rule.
There won't be any, and in fact there won't even be an RTE for NEW,
which was leading to a core dump in CVS tip.  7.4 and earlier manage
not to crash when applying ResolveNew in this scenario, but I think
it was just good fortune that they didn't.  Per report from
Bernd Helmle.
src/backend/rewrite/rewriteHandler.c