mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Remove unused #includes in *.c files.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.31 1999/07/15 15:20:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.32 1999/07/15 22:40:08 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Globals used all over the place should be declared here and not
|
||||
@@ -27,9 +27,6 @@
|
||||
#include "miscadmin.h" /* where the declarations go */
|
||||
|
||||
#include <storage/backendid.h>
|
||||
#include "access/heapam.h"
|
||||
#include "storage/sinval.h"
|
||||
#include "storage/sinvaladt.h"
|
||||
#include "storage/lmgr.h"
|
||||
#include "libpq/pqcomm.h"
|
||||
#include "catalog/catname.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.30 1999/07/15 15:20:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.31 1999/07/15 22:40:09 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -23,19 +23,13 @@
|
||||
|
||||
#include "postgres.h"
|
||||
|
||||
#include "utils/portal.h" /* for EnablePortalManager, etc. */
|
||||
#include "utils/exc.h" /* for EnableExceptionHandling, etc. */
|
||||
#include "utils/builtins.h"
|
||||
|
||||
#include "miscadmin.h" /* where the declarations go */
|
||||
|
||||
#include "catalog/catname.h"
|
||||
#include "catalog/pg_shadow.h"
|
||||
#include "catalog/pg_proc.h"
|
||||
#include "utils/syscache.h"
|
||||
|
||||
#include "storage/fd.h" /* for O_ */
|
||||
#include "storage/ipc.h" /* for proc_exit */
|
||||
|
||||
/*
|
||||
* EnableAbortEnvVarName
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.41 1999/07/15 15:20:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.42 1999/07/15 22:40:09 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* InitPostgres() is the function called from PostgresMain
|
||||
@@ -37,34 +37,24 @@
|
||||
#include "postgres.h"
|
||||
#include "version.h"
|
||||
|
||||
#include <storage/ipc.h>
|
||||
#include <storage/backendid.h>
|
||||
#include <storage/buf_internals.h>
|
||||
#include <storage/smgr.h>
|
||||
#include <storage/proc.h>
|
||||
#include <utils/relcache.h>
|
||||
|
||||
#include "access/heapam.h"
|
||||
#include "access/xact.h"
|
||||
#include "storage/bufmgr.h"
|
||||
#include "access/transam.h" /* XXX dependency problem */
|
||||
#include "utils/syscache.h"
|
||||
#include "storage/bufpage.h" /* for page layout, for
|
||||
* InitMyDatabaseInfo() */
|
||||
#include "storage/sinval.h"
|
||||
#include "storage/sinvaladt.h"
|
||||
#include "storage/lmgr.h"
|
||||
|
||||
#include "miscadmin.h" /* for global decls */
|
||||
#include "utils/portal.h" /* for EnablePortalManager, etc. */
|
||||
|
||||
#include "utils/exc.h" /* for EnableExceptionHandling, etc. */
|
||||
#include "fmgr.h" /* for EnableDynamicFunctionManager, etc. */
|
||||
#include "utils/inval.h"
|
||||
|
||||
#include "catalog/catname.h"
|
||||
#ifdef MULTIBYTE
|
||||
#include "mb/pg_wchar.h"
|
||||
#endif
|
||||
|
||||
#include "libpq/libpq.h"
|
||||
|
||||
Reference in New Issue
Block a user