aboutsummaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-11-04 12:43:24 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-11-04 12:43:24 +0000
commitabfb41757405b74e175fb8e6bf632b270de523dc (patch)
tree38588ff3cabe9886efb2e8cd4cc927a1b2a7f792 /src/include/miscadmin.h
parent7bea44f449bc3ac8090e5ad3fe027e54cb6297b3 (diff)
downloadpostgresql-abfb41757405b74e175fb8e6bf632b270de523dc.tar.gz
postgresql-abfb41757405b74e175fb8e6bf632b270de523dc.zip
Make the backend grok relative paths for the data directory by converting
it to an absolute path.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index fcced217efb..6e6436d1528 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -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.68 2000/10/08 09:25:38 ishii Exp $
+ * $Id: miscadmin.h,v 1.69 2000/11/04 12:43:24 petere Exp $
*
* NOTES
* some of the information in this file will be moved to
@@ -137,6 +137,8 @@ extern Oid GetSessionUserId(void);
extern void SetSessionUserId(Oid userid);
extern void SetSessionUserIdFromUserName(const char *username);
+extern void SetDataDir(const char *dir);
+
extern int FindExec(char *full_path, const char *argv0, const char *binary_name);
extern int CheckPathAccess(char *path, char *name, int open_mode);