From: Greg Sabino Mullane Date: Mon, 9 Jun 2014 15:55:20 +0000 (-0400) Subject: Change the per-sync isolation level default to match the global one: repeatable read... X-Git-Tag: 5.0.0~55 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=bdaf77cfca976815236e16197f4b0cf5e6ec4aba;p=bucardo.git Change the per-sync isolation level default to match the global one: repeatable read. Serializable was simply causing too many problems in the tests, and is most likely overkill considering the usual workload of DELETE/COPY. --- diff --git a/bucardo.schema b/bucardo.schema index fdccedd85..a93fe2f4e 100644 --- a/bucardo.schema +++ b/bucardo.schema @@ -416,7 +416,7 @@ CREATE TABLE bucardo.sync ( onetimecopy SMALLINT NOT NULL DEFAULT 0, lifetime INTERVAL NULL, -- force controller and kids to restart maxkicks INTEGER NOT NULL DEFAULT 0, -- force controller and kids to restart - isolation_level TEXT NULL DEFAULT 'serializable', + isolation_level TEXT NULL DEFAULT 'repeatable read', cdate TIMESTAMPTZ NOT NULL DEFAULT now() ); COMMENT ON TABLE bucardo.sync IS $$Defines a single replication event from a herd to one or more target databases$$;