From: Tom Lane Date: Thu, 17 Jun 1999 23:45:32 +0000 (+0000) Subject: Explain didn't handle inheritance correctly (it didn't X-Git-Tag: REL6_5_1~116 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=285610e9ea9c906b5e93f956d3606e65efdd7c55;p=thirdparty%2Fpostgresql.git Explain didn't handle inheritance correctly (it didn't manipulate rtable the same way executor does). --- 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 @@ -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);