From b83bd31bd953b6daa22bcbdaee5ade2a27ec7324 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 13 Aug 2007 19:27:12 +0000 Subject: [PATCH] TEMPORARILY make synchronous_commit default to OFF, so that we can get more thorough testing of async-commit mode from the buildfarm. This patch MUST get reverted before 8.3 release! --- doc/src/sgml/config.sgml | 10 +++++++++- src/backend/utils/misc/guc.c | 5 +++-- src/tools/RELEASE_CHANGES | 4 ++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 6b4db09605..0259e4c31f 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -1352,6 +1352,14 @@ SET ENABLE_SEQSCAN TO OFF; commits. It is therefore possible, and useful, to have some transactions commit synchronously and others asynchronously. + + + + + For testing purposes, synchronous_commit will + default to off until 8.3 release approaches. + + diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 09cd8ca448..0f2b479bf9 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut . * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.411 2007/08/08 16:00:46 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.412 2007/08/13 19:27:11 tgl Exp $ * *-------------------------------------------------------------------- */ @@ -560,7 +560,8 @@ static struct config_bool ConfigureNamesBool[] = NULL }, &XactSyncCommit, - true, NULL, NULL + /* XXX TEMPORARY FOR TESTING: sync commit should default to TRUE! */ + false, NULL, NULL }, { {"zero_damaged_pages", PGC_SUSET, DEVELOPER_OPTIONS, diff --git a/src/tools/RELEASE_CHANGES b/src/tools/RELEASE_CHANGES index b1ef4931e8..2ebd6e3908 100644 --- a/src/tools/RELEASE_CHANGES +++ b/src/tools/RELEASE_CHANGES @@ -1,6 +1,10 @@ For All Releases (major, minor, beta, RC) ================ +*** SPECIAL FOR 8.3: don't forget to revert patch of 2007-08-13 that +made synchronous_commit default to OFF. Affects this file, guc.c, and +config.sgml. + * Release version number changes o doc/bug.template o bump Win32 interface version numbers