pgsql: Fix oversight in new EvalPlanQual logic: the second loop over the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix oversight in new EvalPlanQual logic: the second loop over the
Date
Msg-id 20100728172156.60E697541D5@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix oversight in new EvalPlanQual logic: the second loop over the ExecRowMark
list in ExecLockRows() forgot to allow for the possibility that some of the
rowmarks are for child tables that aren't relevant to the current row.
Per report from Kenichiro Tanaka.

Modified Files:
--------------
    pgsql/src/backend/executor:
        nodeLockRows.c (r1.5 -> r1.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeLockRows.c?r1=1.5&r2=1.6)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix potential failure when hashing the output of a subplan that
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix oversight in new EvalPlanQual logic: the second loop over the