From f243a1a1bd836ed45f6e37a3843868bd9bbecad7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 10 Sep 2007 02:01:19 +0000 Subject: [PATCH] Revert temporary patch that made synchronous_commit default to OFF. --- doc/src/sgml/config.sgml | 10 +--------- src/backend/utils/misc/guc.c | 5 ++--- src/tools/RELEASE_CHANGES | 4 ---- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 819af646e3..0663f62deb 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -1352,14 +1352,6 @@ 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 849aa70d9d..678dd20331 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.418 2007/09/10 01:39:19 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.419 2007/09/10 02:01:19 tgl Exp $ * *-------------------------------------------------------------------- */ @@ -560,8 +560,7 @@ static struct config_bool ConfigureNamesBool[] = NULL }, &XactSyncCommit, - /* XXX TEMPORARY FOR TESTING: sync commit should default to TRUE! */ - false, NULL, NULL + true, NULL, NULL }, { {"zero_damaged_pages", PGC_SUSET, DEVELOPER_OPTIONS, diff --git a/src/tools/RELEASE_CHANGES b/src/tools/RELEASE_CHANGES index 2ebd6e3908..b1ef4931e8 100644 --- a/src/tools/RELEASE_CHANGES +++ b/src/tools/RELEASE_CHANGES @@ -1,10 +1,6 @@ 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