pgsql/src/backend/rewrite rewriteHandler.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/rewrite rewriteHandler.c
Date: 2001-01-27 04:40:59
Message-ID: 200101270440.f0R4exe81275@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/01/26 23:40:59

Modified files:
src/backend/rewrite: rewriteHandler.c

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-01-27 04:42:32 pgsql/src/backend/optimizer/plan planner.c
Previous Message Bruce Momjian - CVS 2001-01-27 04:38:54 pgsql/doc FAQ src/FAQ/FAQ.html