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

Commitd6161ba

Browse files
committed
Explain's code for showing quals of SubqueryScan nodes has been broken
all along; not noticed till now. It's a scan not an upper qual ...
1 parent3af3f79 commitd6161ba

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

‎src/backend/commands/explain.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994-5, Regents of the University of California
77
*
8-
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.94 2002/12/05 15:50:30 tgl Exp $
8+
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.95 2002/12/06 19:28:03 tgl Exp $
99
*
1010
*/
1111

@@ -488,6 +488,7 @@ explain_outNode(StringInfo str,
488488
break;
489489
caseT_SeqScan:
490490
caseT_TidScan:
491+
caseT_SubqueryScan:
491492
caseT_FunctionScan:
492493
show_scan_qual(plan->qual, false,
493494
"Filter",
@@ -541,13 +542,6 @@ explain_outNode(StringInfo str,
541542
"inner",INNER,innerPlan(plan),
542543
str,indent,es);
543544
break;
544-
caseT_SubqueryScan:
545-
show_upper_qual(plan->qual,
546-
"Filter",
547-
"subplan",1, ((SubqueryScan*)plan)->subplan,
548-
"",0,NULL,
549-
str,indent,es);
550-
break;
551545
caseT_Agg:
552546
caseT_Group:
553547
show_upper_qual(plan->qual,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp