1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Remove --enable-syslog option

This commit is contained in:
Tatsuo Ishii
2002-04-21 00:22:52 +00:00
parent eef5c4f0e5
commit ad201b8d18
6 changed files with 37 additions and 71 deletions

View File

@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.65 2002/04/03 05:39:32 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.66 2002/04/21 00:22:52 ishii Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
@ -54,7 +54,7 @@ extern int CommitDelay;
extern int CommitSiblings;
extern bool FixBTree;
#ifdef ENABLE_SYSLOG
#ifdef HAVE_SYSLOG
extern char *Syslog_facility;
extern char *Syslog_ident;
static bool check_facility(const char *facility);
@ -394,7 +394,7 @@ static struct config_int
1000, 0, INT_MAX, NULL, NULL
},
#ifdef ENABLE_SYSLOG
#ifdef HAVE_SYSLOG
{
"syslog", PGC_SIGHUP, PGC_S_DEFAULT, &Use_syslog,
0, 0, 2, NULL, NULL
@ -612,7 +612,7 @@ static struct config_string
assign_server_min_messages
},
#ifdef ENABLE_SYSLOG
#ifdef HAVE_SYSLOG
{
"syslog_facility", PGC_POSTMASTER, PGC_S_DEFAULT, &Syslog_facility,
"LOCAL0", check_facility, NULL
@ -1364,7 +1364,7 @@ ParseLongOption(const char *string, char **name, char **value)
#ifdef ENABLE_SYSLOG
#ifdef HAVE_SYSLOG
static bool
check_facility(const char *facility)