diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-06-17 23:45:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-06-17 23:45:32 +0000 |
commit | 285610e9ea9c906b5e93f956d3606e65efdd7c55 (patch) | |
tree | fa2dedf58738110acb405f5d79368007b5c97b97 | |
parent | 5f74d499bfc07c43f44d0989aab6b23c6b5bfbb0 (diff) | |
download | postgresql-285610e9ea9c906b5e93f956d3606e65efdd7c55.tar.gz postgresql-285610e9ea9c906b5e93f956d3606e65efdd7c55.zip |
Explain didn't handle inheritance correctly (it didn't
manipulate rtable the same way executor does).
-rw-r--r-- | src/backend/commands/explain.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index 66fcd8647b0..dd83129be4b 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -4,7 +4,7 @@ * * Copyright (c) 1994-5, Regents of the University of California * - * $Id: explain.c,v 1.37 1999/05/25 16:08:23 momjian Exp $ + * $Id: explain.c,v 1.38 1999/06/17 23:45:32 tgl Exp $ * */ #include <stdio.h> @@ -313,7 +313,6 @@ explain_outNode(StringInfo str, Plan *plan, int indent, ExplainState *es) { ResTarget *rtentry; - es->rtable = appendplan->inheritrtable; rtentry = nth(whichplan, appendplan->inheritrtable); Assert(rtentry != NULL); rt_store(appendplan->inheritrelid, es->rtable, rtentry); |