From b83bd31bd953b6daa22bcbdaee5ade2a27ec7324 Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> 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 6b4db09605b..0259e4c31f0 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.136 2007/08/04 01:26:53 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.137 2007/08/13 19:27:11 tgl Exp $ --> <chapter Id="runtime-config"> <title>Server Configuration</title> @@ -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. </para> + +<!-- this note should go away before release!! --> +<note> + <para> + For testing purposes, <varname>synchronous_commit</varname> will + default to <literal>off</> until 8.3 release approaches. + </para> +</note> </listitem> </varlistentry> diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 09cd8ca4481..0f2b479bf97 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut <peter_e@gmx.net>. * * 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 b1ef4931e84..2ebd6e39080 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 -- GitLab