|
7 | 7 | * Portions Copyright (c) 1994-5, Regents of the University of California
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $PostgreSQL: pgsql/src/backend/commands/explain.c,v 1.189 2009/08/10 05:46:50 tgl Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/commands/explain.c,v 1.190 2009/08/22 02:06:32 tgl Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -1134,17 +1134,15 @@ show_plan_tlist(Plan *plan, ExplainState *es)
|
1134 | 1134 | es->pstmt->subplans);
|
1135 | 1135 | useprefix=list_length(es->rtable)>1;
|
1136 | 1136 |
|
1137 |
| -/* Deparse eachnon-junkresult column */ |
| 1137 | +/* Deparse each result column (we now include resjunk ones) */ |
1138 | 1138 | i=0;
|
1139 | 1139 | foreach(lc,plan->targetlist)
|
1140 | 1140 | {
|
1141 | 1141 | TargetEntry*tle= (TargetEntry*)lfirst(lc);
|
1142 | 1142 |
|
1143 |
| -if (tle->resjunk) |
1144 |
| -continue; |
1145 | 1143 | result=lappend(result,
|
1146 | 1144 | deparse_expression((Node*)tle->expr,context,
|
1147 |
| -useprefix, false)); |
| 1145 | +useprefix, false)); |
1148 | 1146 | }
|
1149 | 1147 |
|
1150 | 1148 | /* Print results */
|
|