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 ...
This commit is contained in:
Tom Lane 2002-12-06 19:28:03 +00:00
parent 3af3f79e69
commit d6161ba7ec

View File

@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.94 2002/12/05 15:50:30 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.95 2002/12/06 19:28:03 tgl Exp $
*
*/
@ -488,6 +488,7 @@ explain_outNode(StringInfo str,
break;
case T_SeqScan:
case T_TidScan:
case T_SubqueryScan:
case T_FunctionScan:
show_scan_qual(plan->qual, false,
"Filter",
@ -541,13 +542,6 @@ explain_outNode(StringInfo str,
"inner", INNER, innerPlan(plan),
str, indent, es);
break;
case T_SubqueryScan:
show_upper_qual(plan->qual,
"Filter",
"subplan", 1, ((SubqueryScan *) plan)->subplan,
"", 0, NULL,
str, indent, es);
break;
case T_Agg:
case T_Group:
show_upper_qual(plan->qual,