*** pgsql/src/backend/parser/analyze.c 2008/10/07 01:47:54 1.382 --- pgsql/src/backend/parser/analyze.c 2008/11/15 19:43:46 1.383 *************** *** 17,23 **** * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/backend/parser/analyze.c,v 1.381 2008/10/06 15:15:22 tgl Exp $ * *------------------------------------------------------------------------- */ --- 17,23 ---- * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/backend/parser/analyze.c,v 1.382 2008/10/07 01:47:54 tgl Exp $ * *------------------------------------------------------------------------- */ *************** applyLockingClause(Query *qry, Index rti *** 2049,2056 **** --- 2049,2058 ---- /* Make a new RowMarkClause */ rc = makeNode(RowMarkClause); rc->rti = rtindex; + rc->prti = rtindex; rc->forUpdate = forUpdate; rc->noWait = noWait; + rc->isParent = false; qry->rowMarks = lappend(qry->rowMarks, rc); }