1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Ye-old pgindent run. Same 4-space tabs.

This commit is contained in:
Bruce Momjian
2000-04-12 17:17:23 +00:00
parent db4518729d
commit 52f77df613
434 changed files with 24799 additions and 21246 deletions

View File

@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: miscadmin.h,v 1.54 2000/02/23 15:46:14 momjian Exp $
* $Id: miscadmin.h,v 1.55 2000/04/12 17:16:24 momjian Exp $
*
* NOTES
* some of the information in this file will be moved to
@ -23,7 +23,7 @@
#ifndef MISCADMIN_H
#define MISCADMIN_H
#include <sys/types.h> /* For pid_t */
#include <sys/types.h> /* For pid_t */
#include "postgres.h"
@ -66,7 +66,7 @@ extern bool TransactionInitWasProcessed;
extern bool IsUnderPostmaster;
extern int DebugLvl;
extern int DebugLvl;
/* Date/Time Configuration
*
@ -148,7 +148,7 @@ extern int CheckPathAccess(char *path, char *name, int open_mode);
*****************************************************************************/
/*
* Description:
* There are three processing modes in POSTGRES. They are
* There are three processing modes in POSTGRES. They are
* "BootstrapProcessing or "bootstrap," InitProcessing or
* "initialization," and NormalProcessing or "normal."
*
@ -157,12 +157,12 @@ extern int CheckPathAccess(char *path, char *name, int open_mode);
* transaction id "one" and are consequently guarenteed to commit. This mode
* is used during the initial generation of template databases.
*
* Initialization mode until all normal initialization is complete.
* Some code behaves differently when executed in this mode to enable
* Initialization mode until all normal initialization is complete.
* Some code behaves differently when executed in this mode to enable
* system bootstrapping.
*
* If a POSTGRES binary is in normal mode, then all code may be executed
* normally.
* normally.
*/
typedef enum ProcessingMode
@ -205,11 +205,11 @@ extern ProcessingMode Mode;
#define IsNormalProcessingMode() ((bool)(Mode == NormalProcessing))
#define SetProcessingMode(mode) \
do { \
AssertArg(mode == BootstrapProcessing || mode == InitProcessing || \
mode == NormalProcessing); \
Mode = mode; \
} while(0)
do { \
AssertArg(mode == BootstrapProcessing || mode == InitProcessing || \
mode == NormalProcessing); \
Mode = mode; \
} while(0)
#define GetProcessingMode() Mode
@ -218,7 +218,7 @@ extern bool IsIgnoringSystemIndexes(void);
extern bool IsCacheInitialized(void);
extern void SetWaitingForLock(bool);
/*
/*
* "postmaster.pid" is a file containing postmaster's pid, being
* created uder $PGDATA upon postmaster's starting up. When postmaster
* shuts down, it will be unlinked.
@ -228,6 +228,6 @@ extern void SetWaitingForLock(bool);
extern void SetPidFname(char *datadir);
extern char *GetPidFname(void);
extern void UnlinkPidFile(void);
extern int SetPidFile(pid_t pid);
extern int SetPidFile(pid_t pid);
#endif /* MISCADMIN_H */