|
|
|
|
@ -11,7 +11,7 @@ |
|
|
|
|
* |
|
|
|
|
* Copyright (c) 1994, Regents of the University of California |
|
|
|
|
* |
|
|
|
|
* $Id: miscadmin.h,v 1.21 1998/04/05 05:52:10 momjian Exp $ |
|
|
|
|
* $Id: miscadmin.h,v 1.22 1998/04/05 21:04:50 momjian Exp $ |
|
|
|
|
* |
|
|
|
|
* NOTES |
|
|
|
|
* some of the information in this file will be moved to |
|
|
|
|
@ -110,14 +110,15 @@ extern Oid LastOidProcessed; /* for query rewrite */ |
|
|
|
|
* POSTGRES directory path definitions. * |
|
|
|
|
*****************************************************************************/ |
|
|
|
|
|
|
|
|
|
extern char *DatabaseName; |
|
|
|
|
extern char *DatabasePath; |
|
|
|
|
|
|
|
|
|
/* in utils/misc/database.c */ |
|
|
|
|
extern void GetRawDatabaseInfo(char *name, Oid *owner, Oid *db_id, char *path); |
|
|
|
|
extern int GetDatabaseInfo(char *name, Oid *owner, char *path); |
|
|
|
|
extern char *ExpandDatabasePath(char *path); |
|
|
|
|
|
|
|
|
|
/* now in utils/init/miscinit.c */ |
|
|
|
|
extern const char *GetDatabasePath(void); |
|
|
|
|
extern const char *GetDatabaseName(void); |
|
|
|
|
extern void SetDatabaseName(char *name); |
|
|
|
|
extern void SetDatabasePath(char *path); |
|
|
|
|
extern char *getpgusername(void); |
|
|
|
|
|