]> granicus.if.org Git - postgresql/commit
Avoid assuming there will be only 3 states for synchronous_commit.
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 4 Apr 2011 22:23:13 +0000 (23:23 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 4 Apr 2011 22:23:13 +0000 (23:23 +0100)
commit88f32b7ca29982f286b61a9d0dd29be4b8a01c25
tree98615ec86f009156f1766ee9a77b57e855f7c085
parent479ee1b962ca2d479310af762c21d7c2056fdeca
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.
src/backend/access/transam/xact.c
src/backend/postmaster/autovacuum.c
src/backend/utils/misc/guc.c
src/include/access/xact.h
src/include/replication/syncrep.h