From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Avoid assuming there will be only 3 states for synchronous_commi |
Date: | 2011-04-04 22:24:15 |
Message-ID: | E1Q6sBz-0002Gu-2U@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-04-04 23:10:42 | Re: [COMMITTERS] pgsql: Avoid assuming there will be only 3 states for synchronous_commi |
Previous Message | Simon Riggs | 2011-04-04 21:39:36 | pgsql: Centralise release note items related to recovery and replicatio |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2011-04-04 22:41:59 | Re: time table for beta1 |
Previous Message | Aidan Van Dyk | 2011-04-04 22:23:20 | Re: Extensions Dependency Checking |