summaryrefslogtreecommitdiff
path: root/src/include/utils/guc.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/utils/guc.h
parent0d069c53c3b01b37388473c123f0a78a09d7d3e5 (diff)
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/utils/guc.h')
-rw-r--r--src/include/utils/guc.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 0639f19da90..38eba48aae6 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -7,7 +7,7 @@
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
- * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.52 2004/10/08 01:36:36 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.53 2004/10/09 23:13:22 tgl Exp $
*--------------------------------------------------------------------
*/
#ifndef GUC_H
@@ -135,11 +135,10 @@ extern int log_min_messages;
extern int client_min_messages;
extern int log_min_duration_statement;
-extern char *ConfigDir;
extern char *ConfigFileName;
-extern char *guc_hbafile;
-extern char *guc_identfile;
-extern char *external_pidfile;
+extern char *HbaFileName;
+extern char *IdentFileName;
+extern char *external_pid_file;
extern void SetConfigOption(const char *name, const char *value,