*** pgsql/src/include/nodes/primnodes.h 2009/01/01 17:24:00 1.145 --- pgsql/src/include/nodes/primnodes.h 2009/02/25 03:30:37 1.146 *************** *** 10,16 **** * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/include/nodes/primnodes.h,v 1.144 2008/12/28 18:54:00 tgl Exp $ * *------------------------------------------------------------------------- */ --- 10,16 ---- * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/include/nodes/primnodes.h,v 1.145 2009/01/01 17:24:00 momjian Exp $ * *------------------------------------------------------------------------- */ *************** typedef struct RangeTblRef *** 1137,1143 **** * * During parse analysis, an RTE is created for the Join, and its index * is filled into rtindex. This RTE is present mainly so that Vars can ! * be created that refer to the outputs of the join. *---------- */ typedef struct JoinExpr --- 1137,1145 ---- * * During parse analysis, an RTE is created for the Join, and its index * is filled into rtindex. This RTE is present mainly so that Vars can ! * be created that refer to the outputs of the join. The planner sometimes ! * generates JoinExprs internally; these can have rtindex = 0 if there are ! * no join alias variables referencing such joins. *---------- */ typedef struct JoinExpr *************** typedef struct JoinExpr *** 1150,1156 **** List *using; /* USING clause, if any (list of String) */ Node *quals; /* qualifiers on join, if any */ Alias *alias; /* user-written alias clause, if any */ ! int rtindex; /* RT index assigned for join */ } JoinExpr; /*---------- --- 1152,1158 ---- List *using; /* USING clause, if any (list of String) */ Node *quals; /* qualifiers on join, if any */ Alias *alias; /* user-written alias clause, if any */ ! int rtindex; /* RT index assigned for join, or 0 */ } JoinExpr; /*----------