mirror of
https://github.com/postgres/postgres.git
synced 2025-06-09 00:01:41 -04:00
Fix incorrect declaration of rtentry as 'ResTarget' where it
should be 'RangeTblEntry' ; explain.c had copied the erroneous code.
This commit is contained in:
parent
fe1f757e56
commit
c62b8a68bf
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994-5, Regents of the University of California
|
* 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 <stdio.h>
|
#include <stdio.h>
|
||||||
@ -307,7 +307,7 @@ explain_outNode(StringInfo str, Plan *plan, int indent, ExplainState *es)
|
|||||||
|
|
||||||
if (appendplan->inheritrelid > 0)
|
if (appendplan->inheritrelid > 0)
|
||||||
{
|
{
|
||||||
ResTarget *rtentry;
|
RangeTblEntry *rtentry;
|
||||||
|
|
||||||
rtentry = nth(whichplan, appendplan->inheritrtable);
|
rtentry = nth(whichplan, appendplan->inheritrtable);
|
||||||
Assert(rtentry != NULL);
|
Assert(rtentry != NULL);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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;
|
int nplans;
|
||||||
List *rtables;
|
List *rtables;
|
||||||
List *rtable;
|
List *rtable;
|
||||||
ResTarget *rtentry;
|
RangeTblEntry *rtentry;
|
||||||
|
|
||||||
/* ----------------
|
/* ----------------
|
||||||
* get information from the append node
|
* get information from the append node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user