pgsql: Fix another problem in 8.2 changes that allowed "one-time" qual

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix another problem in 8.2 changes that allowed "one-time" qual
Date: 2007-02-16 03:49:04
Message-ID: 20070216034904.5BFFF9FBD36@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix another problem in 8.2 changes that allowed "one-time" qual conditions to
be checked at plan levels below the top; namely, we have to allow for Result
nodes inserted just above a nestloop inner indexscan. Should think about
using the general Param mechanism to pass down outer-relation variables, but
for the moment we need a back-patchable solution. Per report from Phil Frost.

Modified Files:
--------------
pgsql/src/backend/executor:
nodeResult.c (r1.38 -> r1.39)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeResult.c.diff?r1=1.38&r2=1.39)
pgsql/src/backend/optimizer/plan:
setrefs.c (r1.128 -> r1.129)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/setrefs.c.diff?r1=1.128&r2=1.129)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-02-16 03:49:10 pgsql: Fix another problem in 8.2 changes that allowed "one-time" qual
Previous Message Bruce Momjian 2007-02-16 03:39:46 pgsql: Add two new format fields for use with to_char(), to_date() and