diff options
Diffstat (limited to 'src/include/nodes/relation.h')
-rw-r--r-- | src/include/nodes/relation.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h index 4c06224ecce..5f6ad686dff 100644 --- a/src/include/nodes/relation.h +++ b/src/include/nodes/relation.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: relation.h,v 1.71 2002/11/30 00:08:22 tgl Exp $ + * $Id: relation.h,v 1.72 2002/11/30 05:21:03 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -406,6 +406,18 @@ typedef struct ResultPath } ResultPath; /* + * MaterialPath represents use of a Material plan node, i.e., caching of + * the output of its subpath. This is used when the subpath is expensive + * and needs to be scanned repeatedly, or when we need mark/restore ability + * and the subpath doesn't have it. + */ +typedef struct MaterialPath +{ + Path path; + Path *subpath; +} MaterialPath; + +/* * All join-type paths share these fields. */ |