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

pgindent run on all C files. Java run to follow. initdb/regression

tests pass.
This commit is contained in:
Bruce Momjian
2001-10-25 05:50:21 +00:00
parent 59da2105d8
commit b81844b173
818 changed files with 21684 additions and 20491 deletions

View File

@ -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 */