Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56e985d

Browse files
committed
Include resjunk columns in EXPLAIN VERBOSE output lists. Per discussion.
1 parent1710800 commit56e985d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎src/backend/commands/explain.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994-5, Regents of the University of California
88
*
99
* 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 $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1134,17 +1134,15 @@ show_plan_tlist(Plan *plan, ExplainState *es)
11341134
es->pstmt->subplans);
11351135
useprefix=list_length(es->rtable)>1;
11361136

1137-
/* Deparse eachnon-junkresult column */
1137+
/* Deparse each result column (we now include resjunk ones) */
11381138
i=0;
11391139
foreach(lc,plan->targetlist)
11401140
{
11411141
TargetEntry*tle= (TargetEntry*)lfirst(lc);
11421142

1143-
if (tle->resjunk)
1144-
continue;
11451143
result=lappend(result,
11461144
deparse_expression((Node*)tle->expr,context,
1147-
useprefix, false));
1145+
useprefix, false));
11481146
}
11491147

11501148
/* Print results */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp