diff options
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index d1c8ca75981..456147b907d 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.91 2001/09/21 03:32:36 tgl Exp $ + * $Id: miscadmin.h,v 1.92 2001/09/27 16:29:13 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -236,6 +236,7 @@ extern bool is_dbadmin(Oid dbid); /* current user is owner of database */ * pmod.h -- * * POSTGRES processing mode definitions. * *****************************************************************************/ + /* * Description: * There are three processing modes in POSTGRES. They are @@ -262,19 +263,6 @@ typedef enum ProcessingMode NormalProcessing /* normal processing */ } ProcessingMode; - -/***************************************************************************** - * pinit.h -- * - * POSTGRES initialization and cleanup definitions. * - *****************************************************************************/ - -/* in utils/init/postinit.c */ -extern int lockingOff; - -extern void InitPostgres(const char *dbname, const char *username); -extern void BaseInit(void); - -/* processing mode support stuff */ extern ProcessingMode Mode; #define IsBootstrapProcessingMode() ((bool)(Mode == BootstrapProcessing)) @@ -291,6 +279,17 @@ extern ProcessingMode Mode; #define GetProcessingMode() Mode + +/***************************************************************************** + * pinit.h -- * + * POSTGRES initialization and cleanup definitions. * + *****************************************************************************/ + +/* in utils/init/postinit.c */ +extern void InitPostgres(const char *dbname, const char *username); +extern void BaseInit(void); + +/* in utils/init/miscinit.c */ extern bool CreateDataDirLockFile(const char *datadir, bool amPostmaster); extern bool CreateSocketLockFile(const char *socketfile, bool amPostmaster); extern void TouchSocketLockFile(void); |