From abfb41757405b74e175fb8e6bf632b270de523dc Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 4 Nov 2000 12:43:24 +0000 Subject: Make the backend grok relative paths for the data directory by converting it to an absolute path. --- src/include/miscadmin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/miscadmin.h') 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); -- cgit v1.2.3