From d6161ba7ec14d605327b1a8921978c21909446c1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 6 Dec 2002 19:28:03 +0000 Subject: [PATCH] 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 ... --- src/backend/commands/explain.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index e2d1a6eeab..0b5efaa319 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -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,