mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03: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:
@ -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,
|
|||||||
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,
|
|||||||
"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,
|
||||||
|
Reference in New Issue
Block a user