diff options
| author | Robert Haas | 2012-04-14 14:53:22 +0000 |
|---|---|---|
| committer | Robert Haas | 2012-04-14 14:53:22 +0000 |
| commit | ea6a2d8d47b9368f50fb7f4cca206895e6127a0a (patch) | |
| tree | f32fd95dfea0eeea8f9a2a4d03a863b8d1c026b0 /src/backend/utils | |
| parent | 4a2d7ad76f5f275ef2d6a57e1a61d5bf756349e8 (diff) | |
Rename synchronous_commit='write' to 'remote_write'.
Fujii Masao, per discussion on pgsql-hackers
Diffstat (limited to 'src/backend/utils')
| -rw-r--r-- | src/backend/utils/misc/guc.c | 4 | ||||
| -rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 8ea391a8e6c..47a18110c1d 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -370,12 +370,12 @@ static const struct config_enum_entry constraint_exclusion_options[] = { }; /* - * Although only "on", "off", "write", and "local" are documented, we + * Although only "on", "off", "remote_write", and "local" are documented, we * accept all the likely variants of "on" and "off". */ static const struct config_enum_entry synchronous_commit_options[] = { {"local", SYNCHRONOUS_COMMIT_LOCAL_FLUSH, false}, - {"write", SYNCHRONOUS_COMMIT_REMOTE_WRITE, false}, + {"remote_write", SYNCHRONOUS_COMMIT_REMOTE_WRITE, false}, {"on", SYNCHRONOUS_COMMIT_ON, false}, {"off", SYNCHRONOUS_COMMIT_OFF, false}, {"true", SYNCHRONOUS_COMMIT_ON, true}, diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index cbae3bfb228..0ac7533bebd 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -162,7 +162,8 @@ #wal_level = minimal # minimal, archive, or hot_standby # (change requires restart) #fsync = on # turns forced synchronization on or off -#synchronous_commit = on # synchronization level; on, off, or local +#synchronous_commit = on # synchronization level; + # off, local, remote_write, or on #wal_sync_method = fsync # the default is the first option # supported by the operating system: # open_datasync |
