mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +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:
@@ -6,13 +6,15 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: async.h,v 1.13 2000/01/26 05:58:00 momjian Exp $
|
||||
* $Id: async.h,v 1.14 2000/05/31 00:28:37 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef ASYNC_H
|
||||
#define ASYNC_H
|
||||
|
||||
extern bool Trace_notify;
|
||||
|
||||
/* notify-related SQL statements */
|
||||
extern void Async_Notify(char *relname);
|
||||
extern void Async_Listen(char *relname, int pid);
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
|
||||
* statements
|
||||
*
|
||||
* $Id: variable.h,v 1.9 2000/02/19 22:10:43 tgl Exp $
|
||||
* $Id: variable.h,v 1.10 2000/05/31 00:28:37 petere Exp $
|
||||
*
|
||||
*/
|
||||
#ifndef VARIABLE_H
|
||||
#define VARIABLE_H 1
|
||||
#define VARIABLE_H
|
||||
|
||||
extern bool SetPGVariable(const char *name, const char *value);
|
||||
extern bool GetPGVariable(const char *name);
|
||||
extern bool ResetPGVariable(const char *name);
|
||||
extern void SetPGVariable(const char *name, const char *value);
|
||||
extern void GetPGVariable(const char *name);
|
||||
extern void ResetPGVariable(const char *name);
|
||||
|
||||
extern void set_default_datestyle(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user