diff options
Diffstat (limited to 'src/backend/utils/mmgr')
-rw-r--r-- | src/backend/utils/mmgr/aset.c | 11 | ||||
-rw-r--r-- | src/backend/utils/mmgr/mcxt.c | 13 | ||||
-rw-r--r-- | src/backend/utils/mmgr/oset.c | 4 | ||||
-rw-r--r-- | src/backend/utils/mmgr/palloc.c | 7 | ||||
-rw-r--r-- | src/backend/utils/mmgr/portalmem.c | 13 |
5 files changed, 9 insertions, 39 deletions
diff --git a/src/backend/utils/mmgr/aset.c b/src/backend/utils/mmgr/aset.c index 1060f7b6def..e3be65a0164 100644 --- a/src/backend/utils/mmgr/aset.c +++ b/src/backend/utils/mmgr/aset.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.16 1999/05/25 16:12:51 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.16.2.1 1999/08/02 05:25:15 scrappy Exp $ * * NOTE: * This is a new (Feb. 05, 1999) implementation of the allocation set @@ -21,15 +21,8 @@ * Jan Wieck *------------------------------------------------------------------------- */ -#include <stdio.h> #include "postgres.h" -#include "utils/excid.h" /* for ExhaustedMemory */ -#include "utils/memutils.h" /* where funnction declarations go */ -#ifndef HAVE_MEMMOVE -#include <regex/utils.h> -#else -#include <string.h> -#endif +#include "utils/memutils.h" #undef AllocSetReset diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c index 98cd5b6f161..f750e99e61e 100644 --- a/src/backend/utils/mmgr/mcxt.c +++ b/src/backend/utils/mmgr/mcxt.c @@ -7,25 +7,18 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.14 1999/05/25 16:12:53 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.14.2.1 1999/08/02 05:25:16 scrappy Exp $ * *------------------------------------------------------------------------- */ -#include <stdio.h> /* XXX for printf debugging */ #include "postgres.h" -#include "utils/memutils.h" -#include "utils/module.h" -#include "utils/excid.h" - #include "nodes/memnodes.h" -#include "nodes/nodes.h" +#include "utils/excid.h" +#include "utils/module.h" -#include "utils/mcxt.h" -#include "utils/elog.h" -#include "utils/palloc.h" #undef MemoryContextAlloc #undef MemoryContextFree diff --git a/src/backend/utils/mmgr/oset.c b/src/backend/utils/mmgr/oset.c index 9a0d2781c13..451dea91f24 100644 --- a/src/backend/utils/mmgr/oset.c +++ b/src/backend/utils/mmgr/oset.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.13 1999/05/26 12:56:05 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.13.2.1 1999/08/02 05:25:16 scrappy Exp $ * * NOTE * XXX This is a preliminary implementation which lacks fail-fast @@ -17,7 +17,7 @@ */ #include "postgres.h" -#include "utils/memutils.h" /* where declarations of this file goes */ +#include "utils/memutils.h" static Pointer OrderedElemGetBase(OrderedElem elem); static void OrderedElemPush(OrderedElem elem); diff --git a/src/backend/utils/mmgr/palloc.c b/src/backend/utils/mmgr/palloc.c index bf36908973a..82a31785623 100644 --- a/src/backend/utils/mmgr/palloc.c +++ b/src/backend/utils/mmgr/palloc.c @@ -7,19 +7,14 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.12 1999/05/25 16:12:54 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.12.2.1 1999/08/02 05:25:16 scrappy Exp $ * *------------------------------------------------------------------------- */ -#include <string.h> #include "postgres.h" -#include "utils/mcxt.h" -#include "utils/elog.h" -#include "utils/palloc.h" - #include "nodes/memnodes.h" diff --git a/src/backend/utils/mmgr/portalmem.c b/src/backend/utils/mmgr/portalmem.c index 2c800e033c6..89fd6dba69b 100644 --- a/src/backend/utils/mmgr/portalmem.c +++ b/src/backend/utils/mmgr/portalmem.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.23 1999/06/19 05:00:29 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/portalmem.c,v 1.23.2.1 1999/08/02 05:25:16 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -73,22 +73,11 @@ * PortalHeapMemory y y y * * */ -#include <stdio.h> /* for sprintf() */ -#include <string.h> /* for strlen, strncpy */ #include "postgres.h" #include "lib/hasht.h" #include "utils/module.h" -#include "utils/excid.h" /* for Unimplemented */ -#include "utils/mcxt.h" -#include "utils/hsearch.h" - -#include "nodes/memnodes.h" -#include "nodes/nodes.h" -#include "nodes/pg_list.h" -#include "nodes/execnodes.h" /* for EState */ - #include "utils/portal.h" static void CollectNamedPortals(Portal *portalP, int destroy); |