aboutsummaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-10-09 23:13:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-10-09 23:13:22 +0000
commit337ffcddbae15a3bde25b17dbb8a0832c597003f (patch)
tree8901b4f89003a45b6a7ebf5fc1a75c6506dd3264 /src/include/miscadmin.h
parent0d069c53c3b01b37388473c123f0a78a09d7d3e5 (diff)
downloadpostgresql-337ffcddbae15a3bde25b17dbb8a0832c597003f.tar.gz
postgresql-337ffcddbae15a3bde25b17dbb8a0832c597003f.zip
Adjust configuration-files GUC behavior as per my recent proposal.
The vars are renamed to data_directory, config_file, hba_file, and ident_file, and are guaranteed to be set to accurate absolute paths during postmaster startup. This commit does not yet do anything about hiding path values from non-superusers.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 4130bf14bd1..c09bfe33231 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.168 2004/09/06 23:55:34 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.169 2004/10/09 23:13:14 tgl Exp $
*
* NOTES
* some of the information in this file should be moved to other files.
@@ -241,6 +241,7 @@ extern void InitializeSessionUserIdStandalone(void);
extern void SetSessionAuthorization(AclId userid, bool is_superuser);
extern void SetDataDir(const char *dir);
+extern char *make_absolute_path(const char *path);
/* in utils/misc/superuser.c */
extern bool superuser(void); /* current user is superuser */