mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
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:
parent
3af3f79e69
commit
d6161ba7ec
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user