aboutsummaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 70d19f81929..b85784cdcab 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.94 2001/10/21 03:25:35 tgl Exp $
+ * $Id: miscadmin.h,v 1.95 2001/10/25 05:49:54 momjian Exp $
*
* NOTES
* some of the information in this file should be moved to
@@ -47,7 +47,7 @@
*
* Special mechanisms are used to let an interrupt be accepted when we are
* waiting for a lock or when we are waiting for command input (but, of
- * course, only if the interrupt holdoff counter is zero). See the
+ * course, only if the interrupt holdoff counter is zero). See the
* related code for details.
*
* A related, but conceptually distinct, mechanism is the "critical section"
@@ -116,7 +116,7 @@ extern void ClosePostmasterPorts(bool pgstat_too);
extern bool Noversion;
extern char *DataDir;
-extern DLLIMPORT int MyProcPid;
+extern DLLIMPORT int MyProcPid;
extern struct Port *MyProcPort;
extern long MyCancelKey;
@@ -128,7 +128,7 @@ extern char pg_pathname[];
*
* extern BackendId MyBackendId;
*/
-extern DLLIMPORT Oid MyDatabaseId;
+extern DLLIMPORT Oid MyDatabaseId;
extern bool IsUnderPostmaster;
@@ -175,7 +175,7 @@ extern int VacuumMem;
/*
* A few postmaster startup options are exported here so the
- * configuration file processor can access them.
+ * configuration file processor can access them.
*/
extern bool NetServer;
@@ -230,7 +230,8 @@ extern char *convertstr(unsigned char *buff, int len, int dest);
/* in utils/misc/superuser.c */
extern bool superuser(void); /* current user is superuser */
-extern bool is_dbadmin(Oid dbid); /* current user is owner of database */
+extern bool is_dbadmin(Oid dbid); /* current user is owner of
+ * database */
/*****************************************************************************
@@ -259,9 +260,10 @@ extern bool is_dbadmin(Oid dbid); /* current user is owner of database */
typedef enum ProcessingMode
{
- BootstrapProcessing, /* bootstrap creation of template database */
- InitProcessing, /* initializing system */
- NormalProcessing /* normal processing */
+ BootstrapProcessing, /* bootstrap creation of template
+ * database */
+ InitProcessing, /* initializing system */
+ NormalProcessing/* normal processing */
} ProcessingMode;
extern ProcessingMode Mode;
@@ -303,5 +305,4 @@ extern void ValidatePgVersion(const char *path);
extern void IgnoreSystemIndexes(bool mode);
extern bool IsIgnoringSystemIndexes(void);
extern bool IsCacheInitialized(void);
-
#endif /* MISCADMIN_H */