mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
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)
This commit is contained in:
@ -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. *
|
||||
|
Reference in New Issue
Block a user