diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-05-31 00:28:42 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-05-31 00:28:42 +0000 |
commit | 6a68f42648f54690ad5b5ae6fb9104e86e15f0f1 (patch) | |
tree | 4b6742f51fb2160dbe2ce090273fd430dc2b2499 /src/include/miscadmin.h | |
parent | 5e4d554bae6a7177903cdb99bf5d41b695519a45 (diff) | |
download | postgresql-6a68f42648f54690ad5b5ae6fb9104e86e15f0f1.tar.gz postgresql-6a68f42648f54690ad5b5ae6fb9104e86e15f0f1.zip |
The heralded `Grand Unified Configuration scheme' (GUC)
That means you can now set your options in either or all of $PGDATA/configuration,
some postmaster option (--enable-fsync=off), or set a SET command. The list of
options is in backend/utils/misc/guc.c, documentation will be written post haste.
pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
-Q, and -T options (no longer applicable, although -d0 does the same as -Q).
Added to configure an --enable-syslog option.
changed all callers from TPRINTF to elog(DEBUG)
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 62f34da5d3a..95a05164aa3 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.56 2000/05/29 19:16:55 tgl Exp $ + * $Id: miscadmin.h,v 1.57 2000/05/31 00:28:36 petere Exp $ * * NOTES * some of the information in this file will be moved to @@ -27,7 +27,6 @@ #include "postgres.h" -#include "utils/trace.h" /***************************************************************************** * globals.h -- * @@ -102,12 +101,20 @@ extern char CTZName[]; extern char FloatFormat[]; extern char DateFormat[]; -#define disableFsync pg_options[OPT_NOFSYNC] +extern bool enableFsync; extern bool allowSystemTableMods; extern int SortMem; extern Oid LastOidProcessed; /* for query rewrite */ +/* a few postmaster startup options are exported here so the + configuration file processor has access to them */ + +extern bool NetServer; +extern int MaxBackends; +extern int NBuffers; +extern int PostPortName; + /***************************************************************************** * pdir.h -- * * POSTGRES directory path definitions. * |