pgsql: Avoid assuming there will be only 3 states for synchronous_commi

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Avoid assuming there will be only 3 states for synchronous_commi
Дата
Msg-id E1Q6sBz-0002Gu-2U@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid assuming there will be only 3 states for synchronous_commit.
Also avoid hardcoding the current default state by giving it the name
"on" and replace with a meaningful name that reflects its behaviour.
Coding only, no change in behaviour.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/88f32b7ca29982f286b61a9d0dd29be4b8a01c25

Modified Files
--------------
src/backend/access/transam/xact.c   |    2 +-
src/backend/postmaster/autovacuum.c |    2 +-
src/backend/utils/misc/guc.c        |    2 +-
src/include/access/xact.h           |    9 ++++++---
src/include/replication/syncrep.h   |    2 +-
5 files changed, 10 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Centralise release note items related to recovery and replicatio
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Add casts from int4 and int8 to numeric.