From f243a1a1bd836ed45f6e37a3843868bd9bbecad7 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
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 819af646e3b..0663f62deb9 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.143 2007/09/10 01:39:19 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.144 2007/09/10 02:01:19 tgl Exp $ -->
 
 <chapter Id="runtime-config">
   <title>Server Configuration</title>
@@ -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.
        </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 849aa70d9d5..678dd203315 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.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 2ebd6e39080..b1ef4931e84 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
-- 
GitLab