Commit d6161ba7 authored by Tom Lane's avatar Tom Lane

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 ...
parent 3af3f79e
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California * 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, ...@@ -488,6 +488,7 @@ explain_outNode(StringInfo str,
break; break;
case T_SeqScan: case T_SeqScan:
case T_TidScan: case T_TidScan:
case T_SubqueryScan:
case T_FunctionScan: case T_FunctionScan:
show_scan_qual(plan->qual, false, show_scan_qual(plan->qual, false,
"Filter", "Filter",
...@@ -541,13 +542,6 @@ explain_outNode(StringInfo str, ...@@ -541,13 +542,6 @@ explain_outNode(StringInfo str,
"inner", INNER, innerPlan(plan), "inner", INNER, innerPlan(plan),
str, indent, es); str, indent, es);
break; 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_Agg:
case T_Group: case T_Group:
show_upper_qual(plan->qual, show_upper_qual(plan->qual,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment