Skip to content

Commit d6161ba

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 parent 3af3f79 commit d6161ba

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
case T_SeqScan:
490490
case T_TidScan:
491+
case T_SubqueryScan:
491492
case T_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-
case T_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
case T_Agg:
552546
case T_Group:
553547
show_upper_qual(plan->qual,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy