From 1ee26b776475155ad1fb00fa3ed0a93659ffadad Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 18 Jun 2000 22:44:35 +0000 Subject: Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the materialized tupleset is small enough) instead of a temporary relation. This was something I was thinking of doing anyway for performance, and Jan says he needs it for TOAST because he doesn't want to cope with toasting noname relations. With this change, the 'noname table' support in heap.c is dead code, and I have accordingly removed it. Also clean up 'noname' plan handling in planner --- nonames are either sort or materialize plans, and it seems less confusing to handle them separately under those names. --- src/backend/utils/adt/chunk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend/utils/adt/chunk.c') diff --git a/src/backend/utils/adt/chunk.c b/src/backend/utils/adt/chunk.c index 1d8ec1aec8e..55776769493 100644 --- a/src/backend/utils/adt/chunk.c +++ b/src/backend/utils/adt/chunk.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.27 2000/06/13 07:35:03 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.28 2000/06/18 22:44:13 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,6 @@ #include "fmgr.h" #include "libpq/be-fsstubs.h" #include "libpq/libpq-fs.h" -#include "optimizer/internal.h" #include "utils/array.h" #include "utils/memutils.h" -- cgit v1.2.3