1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-10 17:42:29 +03:00

Backing out the background writer sync() option.

Jan
This commit is contained in:
Jan Wieck
2004-02-04 01:24:53 +00:00
parent e66fcce672
commit 8d09e25693
4 changed files with 5 additions and 68 deletions

View File

@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.184 2004/02/03 17:34:03 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.185 2004/02/04 01:24:53 wieck Exp $
*
*--------------------------------------------------------------------
*/
@@ -95,8 +95,6 @@ static const char *assign_msglvl(int *var, const char *newval,
static const char *assign_log_error_verbosity(const char *newval, bool doit,
GucSource source);
static bool assign_phony_autocommit(bool newval, bool doit, GucSource source);
extern const char *BgWriterAssignSyncMethod(const char *method,
bool doit, GucSource source);
/*
@@ -1691,15 +1689,6 @@ static struct config_string ConfigureNamesString[] =
XLOG_sync_method_default, assign_xlog_sync_method, NULL
},
{
{"bgwriter_flush_method", PGC_SIGHUP, RESOURCES,
gettext_noop("Selects the method used by the bgwriter for forcing writes out to disk."),
NULL
},
&BgWriterFlushMethod_str,
BgWriterFlushMethod_default, BgWriterAssignSyncMethod, NULL
},
/* End-of-list marker */
{
{NULL, 0, 0, NULL, NULL}, NULL, NULL, NULL, NULL

View File

@@ -61,12 +61,9 @@
#debug_shared_buffers = 0 # 0-600 seconds
# - Background writer -
#debug_shared_buffers = 0 # 0-600 seconds interval (0 = off)
#bgwriter_delay = 200 # 10-5000 milliseconds
#bgwriter_percent = 1 # 0-100% of dirty buffers
#bgwriter_maxpages = 100 # 1-1000 buffers max at once
#bgwriter_flush_method = none # how the bgwriter flushes kernel buffers
# one of: none or sync
# - Free Space Map -