From 6a68f42648f54690ad5b5ae6fb9104e86e15f0f1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 31 May 2000 00:28:42 +0000 Subject: 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) --- src/include/miscadmin.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/include/miscadmin.h') 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. * -- cgit v1.2.3