From 9e964f90fbfe40a71b5f0db5e7a8a76a01ea6573 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 15 Jul 1998 14:54:39 +0000 Subject: Fix explain for union and inheritance. Rename Append structure members to be clearer. Fix cost computation for these. --- src/include/nodes/plannodes.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index fabed6cf906..9541e64b14e 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: plannodes.h,v 1.15 1998/02/26 04:42:01 momjian Exp $ + * $Id: plannodes.h,v 1.16 1998/07/15 14:54:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -24,7 +24,7 @@ * control nodes * * Result ResultState resstate; - * Append AppendState unionstate; + * Append AppendState appendstate; * * scan nodes * @@ -138,11 +138,17 @@ typedef struct Result typedef struct Append { Plan plan; - List *unionplans; - List *unionrts; - Index unionrelid; - List *unionrtentries; - AppendState *unionstate; + List *appendplans; + List *unionrtables; /* + * List of range tables, one for each + * union query. + */ + Index inheritrelid; /* + * The range table has to be changed for + * inheritance. + */ + List *inheritrtable; + AppendState *appendstate; } Append; /* -- cgit v1.2.3