Fix incorrect declaration of rtentry as 'ResTarget' where it
authorTom Lane
Sat, 17 Jul 1999 19:01:21 +0000 (19:01 +0000)
committerTom Lane
Sat, 17 Jul 1999 19:01:21 +0000 (19:01 +0000)
should be 'RangeTblEntry' ; explain.c had copied the erroneous code.

src/backend/commands/explain.c
src/backend/executor/nodeAppend.c

index 9e416b9f2b9ac84a8841fadcb5d1e4486d4a4665..168d2037e7d62ddff02f2d04508ab9c1188ecd6f 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (c) 1994-5, Regents of the University of California
  *
- *   $Id: explain.c,v 1.41 1999/07/16 04:58:40 momjian Exp $
+ *   $Id: explain.c,v 1.42 1999/07/17 19:01:21 tgl Exp $
  *
  */
 #include 
@@ -307,7 +307,7 @@ explain_outNode(StringInfo str, Plan *plan, int indent, ExplainState *es)
 
            if (appendplan->inheritrelid > 0)
            {
-               ResTarget  *rtentry;
+               RangeTblEntry *rtentry;
 
                rtentry = nth(whichplan, appendplan->inheritrtable);
                Assert(rtentry != NULL);
index 50346cd8735acf3d15435d6233778ade3ff175d3..19a1e53b69fef29d28ae407145306cf3a935a165 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.23 1999/07/16 04:58:49 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.24 1999/07/17 19:01:21 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -85,7 +85,7 @@ exec_append_initialize_next(Append *node)
    int         nplans;
    List       *rtables;
    List       *rtable;
-   ResTarget  *rtentry;
+   RangeTblEntry *rtentry;
 
    /* ----------------
     *  get information from the append node