diff options
Diffstat (limited to 'src/backend/utils/init/postinit.c')
| -rw-r--r-- | src/backend/utils/init/postinit.c | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 790684cda1..12bbcf3034 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -7,7 +7,7 @@   *   *   * IDENTIFICATION - *	  $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.34 1998/08/24 01:13:56 momjian Exp $ + *	  $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.35 1998/09/01 04:33:17 momjian Exp $   *   * NOTES   *		InitPostgres() is the function called from PostgresMain @@ -121,7 +121,7 @@ InitMyDatabaseInfo(char *name)  	int4		owner;  	char	   *path,  				myPath[MAXPGPATH + 1]; -	int encoding; +	int			encoding;  	SetDatabaseName(name);  	GetRawDatabaseInfo(name, &owner, &MyDatabaseId, myPath, &encoding); @@ -201,8 +201,8 @@ VerifySystemDatabase()  static void  VerifyMyDatabase()  { -	const char	   *name; -	const char	   *myPath; +	const char *name; +	const char *myPath;  	/* Failure reason returned by some function.  NULL if no failure */  	char	   *reason; @@ -384,7 +384,7 @@ forcesharedmemory:  #endif -    if (!IsUnderPostmaster) /* postmaster already did this */ +	if (!IsUnderPostmaster)		/* postmaster already did this */  	{  		PostgresIpcKey = key;  		AttachSharedMemoryAndSemaphores(key); @@ -509,6 +509,8 @@ InitPostgres(char *name)		/* database name */  	/*  	 * ********************************  	 * +	 * +	 *  	 * code after this point assumes we are in the proper directory!  	 *  	 * So, how do we implement alternate locations for databases? There are  | 
