]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Repair bug reported by Huxton, 1/24/01. We need to include a rule's
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Jan 2001 04:40:59 +0000 (04:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Jan 2001 04:40:59 +0000 (04:40 +0000)
commit352871ac9338e856b9a1cb7783148e6ac80dd84a
tree71eb6a91007725eca8191f2d0361129a4c40cb68
parenta60537240f34e61c15b1bd5e0f96a0b9fdc73c06
Repair bug reported by Huxton, 1/24/01.  We need to include a rule's
original table ('OLD' table) in its join tree if OLD is referenced by
either the rule action, the rule qual, or the original query qual that
will be added to the rule action.  However, we only want one instance
of the original table to be included; so beware of the possibility that
the rule action already has a jointree entry for OLD.
src/backend/rewrite/rewriteHandler.c